mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 22:10:55 +01:00
Fix default limit in elasticsearch
This commit is contained in:
parent
6d5dcea3ba
commit
60696de095
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ final class PhabricatorSearchEngineElastic extends PhabricatorSearchEngine {
|
||||||
}
|
}
|
||||||
|
|
||||||
$spec['from'] = (int)$query->getParameter('offset', 0);
|
$spec['from'] = (int)$query->getParameter('offset', 0);
|
||||||
$spec['size'] = (int)$query->getParameter('limit', 0);
|
$spec['size'] = (int)$query->getParameter('limit', 25);
|
||||||
$response = $this->executeRequest($uri, $spec);
|
$response = $this->executeRequest($uri, $spec);
|
||||||
|
|
||||||
$phids = ipull($response['hits']['hits'], '_id');
|
$phids = ipull($response['hits']['hits'], '_id');
|
||||||
|
|
Loading…
Reference in a new issue