1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 08:52:39 +01:00

Fix default limit in elasticsearch

This commit is contained in:
vrana 2012-05-17 12:26:19 -07:00
parent 6d5dcea3ba
commit 60696de095

View file

@ -175,7 +175,7 @@ final class PhabricatorSearchEngineElastic extends PhabricatorSearchEngine {
}
$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);
$phids = ipull($response['hits']['hits'], '_id');