OpenSearch/docs/reference/aggregations/metrics
Martijn van Groningen cb1204774b
Include the _index, _type and _id to nested search hits in the top_hits and inner_hits response.
Also include _type and _id for parent/child hits inside inner hits.

In the case of top_hits aggregation the nested search hits are
directly returned and are not grouped by a root or parent document, so
it is important to include the _id and _index attributes in order to know
to what documents these nested search hits belong to.

Closes #27053
2017-11-28 14:05:29 +01:00
..
avg-aggregation.asciidoc Scripting: Change keys for inline/stored scripts to source/id (#25127) 2017-06-09 08:29:25 -07:00
cardinality-aggregation.asciidoc Update experimental labels in the docs (#25727) 2017-07-18 14:06:22 +02:00
extendedstats-aggregation.asciidoc Docs: Remove remaining references to file and native scripts (#26580) 2017-09-11 11:39:29 -07:00
geobounds-aggregation.asciidoc CONSOLEify geo aggregation docs 2017-03-30 21:28:52 -04:00
geocentroid-aggregation.asciidoc Automatically prepare indices for splitting (#27451) 2017-11-23 09:48:54 +01:00
max-aggregation.asciidoc Scripting: Change keys for inline/stored scripts to source/id (#25127) 2017-06-09 08:29:25 -07:00
min-aggregation.asciidoc Scripting: Change keys for inline/stored scripts to source/id (#25127) 2017-06-09 08:29:25 -07:00
percentile-aggregation.asciidoc CONSOLEify percentile and percentile-ranks docs 2017-08-02 17:47:27 -04:00
percentile-rank-aggregation.asciidoc CONSOLEify percentile and percentile-ranks docs 2017-08-02 17:47:27 -04:00
scripted-metric-aggregation.asciidoc CONSOLEify scripted-metric agg docs 2017-08-03 17:19:54 -04:00
stats-aggregation.asciidoc Scripting: Change keys for inline/stored scripts to source/id (#25127) 2017-06-09 08:29:25 -07:00
sum-aggregation.asciidoc Scripting: Change keys for inline/stored scripts to source/id (#25127) 2017-06-09 08:29:25 -07:00
tophits-aggregation.asciidoc Include the _index, _type and _id to nested search hits in the top_hits and inner_hits response. 2017-11-28 14:05:29 +01:00
valuecount-aggregation.asciidoc Scripting: Change keys for inline/stored scripts to source/id (#25127) 2017-06-09 08:29:25 -07:00