|
@@ -347,9 +347,9 @@ Top hits response snippet with a nested hit, which resides in the first slot of
|
|
|
}
|
|
|
--------------------------------------------------
|
|
|
// TESTRESPONSE[s/\.\.\.//]
|
|
|
-<2> Name of the array field containing the nested hit
|
|
|
-<3> Position if the nested hit in the containing array
|
|
|
-<4> Source of the nested hit
|
|
|
+<1> Name of the array field containing the nested hit
|
|
|
+<2> Position if the nested hit in the containing array
|
|
|
+<3> Source of the nested hit
|
|
|
|
|
|
If `_source` is requested then just the part of the source of the nested object is returned, not the entire source of the document.
|
|
|
Also stored fields on the *nested* inner object level are accessible via `top_hits` aggregator residing in a `nested` or `reverse_nested` aggregator.
|