diff --git a/src/cli/document/crawl.php b/src/cli/document/crawl.php index 07ec871..969548e 100644 --- a/src/cli/document/crawl.php +++ b/src/cli/document/crawl.php @@ -88,6 +88,7 @@ if ($config->cli->document->crawl->debug->level->notice) foreach($index->search('') ->expression('random', 'rand()') ->sort('time', 'asc') + ->sort('rank', 'asc') ->sort('random', 'asc') ->limit($config->cli->document->crawl->queue->limit) ->get() as $document)