Browse Source

[Docs] Fix tophits-aggregation.asciidoc

Tanguy Leroux 8 years ago
parent
commit
3d07bce504
1 changed files with 3 additions and 3 deletions
  1. 3 3
      docs/reference/aggregations/metrics/tophits-aggregation.asciidoc

+ 3 - 3
docs/reference/aggregations/metrics/tophits-aggregation.asciidoc

@@ -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.