75f46cb16d
Currently we run aggregation-only searches by setting search_type to 'count', this will not return any docs because we only care about the stats. Elasticsear 2.0 recommmends using size=0 instead. Change-Id: I6f176e80e21cb1fcb30942c5cfa38146c891612b Closes-Bug: #1572660
10 lines
345 B
YAML
10 lines
345 B
YAML
---
|
|
prelude: >
|
|
Change the way of doing facets search, replace use of
|
|
search_type=count with size=0
|
|
other:
|
|
- Facets search is aggregation-only, no actual documents
|
|
need to be returned. We do it by setting search_type
|
|
in search request before, but it has been deprecated in
|
|
Elasticsearch 2.x, use recommended size=0 instead.
|