mirror of
https://github.com/YGGverse/Yo.git
synced 2026-04-01 18:25:29 +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('')
|
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…
Add table
Add a link
Reference in a new issue