Loading CHANGELOG.txt +2 −0 Original line number Diff line number Diff line Search API 1.x, dev (xxxx-xx-xx): --------------------------------- - #3325932 by tedfordgif, drunken monkey: Fixed documentation of "drush search-api:index --batch-size=0". - #3359908 by drunken monkey: Added another test case for the "Ignore characters" processor. - #3345999 by smokris, drunken monkey, ressa: Added support for phrase searching Loading src/Commands/SearchApiCommands.php +4 −2 Original line number Diff line number Diff line Loading @@ -221,8 +221,10 @@ class SearchApiCommands extends DrushCommands { * The maximum number of items to index. Set to 0 to index all items. * Defaults to 0 (index all). * @option batch-size * The maximum number of items to index per batch run. Set to 0 to index all * items at once. Defaults to the "Cron batch size" setting of the index. * The maximum number of items to index per batch run. Defaults to the "Cron * batch size" setting of the index if omitted or explicitly set to 0. Set * to a negative value to index all items in a single batch (not * recommended). * * @usage drush search-api:index * Index all items for all enabled indexes. Loading src/Utility/CommandHelper.php +3 −2 Original line number Diff line number Diff line Loading @@ -262,8 +262,9 @@ class CommandHelper implements LoggerAwareInterface { * (optional) The maximum number of items to index, or NULL to index all * items. * @param int|null $batchSize * (optional) The maximum number of items to process per batch, or NULL to * index all items at once. * (optional) The maximum number of items to process per batch, an empty * value to use the default cron limit configured for the index, or a * negative value to index all items in a single batch. * * @return bool * TRUE if indexing for any index was queued, FALSE otherwise. Loading Loading
CHANGELOG.txt +2 −0 Original line number Diff line number Diff line Search API 1.x, dev (xxxx-xx-xx): --------------------------------- - #3325932 by tedfordgif, drunken monkey: Fixed documentation of "drush search-api:index --batch-size=0". - #3359908 by drunken monkey: Added another test case for the "Ignore characters" processor. - #3345999 by smokris, drunken monkey, ressa: Added support for phrase searching Loading
src/Commands/SearchApiCommands.php +4 −2 Original line number Diff line number Diff line Loading @@ -221,8 +221,10 @@ class SearchApiCommands extends DrushCommands { * The maximum number of items to index. Set to 0 to index all items. * Defaults to 0 (index all). * @option batch-size * The maximum number of items to index per batch run. Set to 0 to index all * items at once. Defaults to the "Cron batch size" setting of the index. * The maximum number of items to index per batch run. Defaults to the "Cron * batch size" setting of the index if omitted or explicitly set to 0. Set * to a negative value to index all items in a single batch (not * recommended). * * @usage drush search-api:index * Index all items for all enabled indexes. Loading
src/Utility/CommandHelper.php +3 −2 Original line number Diff line number Diff line Loading @@ -262,8 +262,9 @@ class CommandHelper implements LoggerAwareInterface { * (optional) The maximum number of items to index, or NULL to index all * items. * @param int|null $batchSize * (optional) The maximum number of items to process per batch, or NULL to * index all items at once. * (optional) The maximum number of items to process per batch, an empty * value to use the default cron limit configured for the index, or a * negative value to index all items in a single batch. * * @return bool * TRUE if indexing for any index was queued, FALSE otherwise. Loading