Include field-collapsing docs in request-body search
This commit is contained in:
parent
dc62255ddd
commit
938f5194ef
|
@ -183,4 +183,6 @@ include::request/named-queries-and-filters.asciidoc[]
|
|||
|
||||
include::request/inner-hits.asciidoc[]
|
||||
|
||||
include::request/collapse.asciidoc[]
|
||||
|
||||
include::request/search-after.asciidoc[]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[[search-request-collapse]]
|
||||
== Collapse
|
||||
=== Field Collapsing
|
||||
|
||||
Allows to collapse search results based on field values.
|
||||
The collapsing is done by selecting only the top sorted document per collapse key.
|
||||
|
@ -35,7 +35,7 @@ The field used for collapsing must be a single valued <<keyword, `keyword`> or <
|
|||
NOTE: The collapsing is applied to the top hits only and does not affect aggregations.
|
||||
|
||||
|
||||
=== Expand collapse results
|
||||
==== Expand collapse results
|
||||
|
||||
It is also possible to expand each collapsed top hits with the `inner_hits` option.
|
||||
|
||||
|
|
Loading…
Reference in New Issue