Browse Source

sort queue by rank asc

main
ghost 10 months ago
parent
commit
cfbc84cbaf
  1. 1
      src/cli/document/crawl.php

1
src/cli/document/crawl.php

@ -88,6 +88,7 @@ if ($config->cli->document->crawl->debug->level->notice)
foreach($index->search('') foreach($index->search('')
->expression('random', 'rand()') ->expression('random', 'rand()')
->sort('time', 'asc') ->sort('time', 'asc')
->sort('rank', 'asc')
->sort('random', 'asc') ->sort('random', 'asc')
->limit($config->cli->document->crawl->queue->limit) ->limit($config->cli->document->crawl->queue->limit)
->get() as $document) ->get() as $document)

Loading…
Cancel
Save