mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 21:43:18 +00:00
Increase the number of aggr for debug
This commit is contained in:
@@ -333,19 +333,19 @@ class ElasticSearchEngine implements SearchEngineInterface
|
|||||||
// Debug at the moment. See https://phraseanet.atlassian.net/browse/PHRAS-322
|
// Debug at the moment. See https://phraseanet.atlassian.net/browse/PHRAS-322
|
||||||
$params['body']['aggs'] = array (
|
$params['body']['aggs'] = array (
|
||||||
'Keywords' => array ('terms' =>
|
'Keywords' => array ('terms' =>
|
||||||
array ('field' => 'caption.Keywords.raw', 'size' => 10),
|
array ('field' => 'caption.Keywords.raw', 'size' => 20),
|
||||||
),
|
),
|
||||||
'Photographer' => array ('terms' =>
|
'Photographer' => array ('terms' =>
|
||||||
array ('field' => 'caption.Photographer.raw', 'size' => 10),
|
array ('field' => 'caption.Photographer.raw', 'size' => 20),
|
||||||
),
|
),
|
||||||
'Headline' => array ('terms' =>
|
'Headline' => array ('terms' =>
|
||||||
array ('field' => 'caption.Headline.raw', 'size' => 10),
|
array ('field' => 'caption.Headline.raw', 'size' => 20),
|
||||||
),
|
),
|
||||||
'City' => array ('terms' =>
|
'City' => array ('terms' =>
|
||||||
array ('field' => 'caption.City.raw', 'size' => 10),
|
array ('field' => 'caption.City.raw', 'size' => 20),
|
||||||
),
|
),
|
||||||
'Country' => array ('terms' =>
|
'Country' => array ('terms' =>
|
||||||
array ('field' => 'caption.Country.raw', 'size' => 10),
|
array ('field' => 'caption.Country.raw', 'size' => 20),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user