mirror of
https://github.com/YGGverse/Yo.git
synced 2026-03-31 17:55:35 +00:00
sort queue by rank asc
This commit is contained in:
parent
db9dc8d4ba
commit
cfbc84cbaf
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue