More path to query

This commit is contained in:
Damien Alexandre
2014-10-13 17:07:32 +02:00
parent da036f5b21
commit 52978e6239

View File

@@ -404,7 +404,8 @@ class ElasticSearchEngine implements SearchEngineInterface
$params = [
'index' => $this->indexName,
'type' => TermIndexer::TYPE_NAME,
'body' => []
'body' => [],
'size' => 20,
];
$params['body']['query'] = $query;