mirror of
https://github.com/YGGverse/Yo.git
synced 2025-03-13 05:41:18 +00:00
sort queue by rank asc
This commit is contained in:
parent
db9dc8d4ba
commit
cfbc84cbaf
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user