Browse Source

tophits-aggregation.asciidoc: fix a typo

Sergii Golubev 9 years ago
parent
commit
5ce3eb96b0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/reference/aggregations/metrics/tophits-aggregation.asciidoc

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

@@ -155,7 +155,7 @@ Elasticsearch this can be implemented via a bucket aggregator that wraps a `top_
 
 In the example below we search across crawled webpages. For each webpage we store the body and the domain the webpage
 belong to. By defining a `terms` aggregator on the `domain` field we group the result set of webpages by domain. The
-`top_docs` aggregator is then defined as sub-aggregator, so that the top matching hits are collected per bucket.
+`top_hits` aggregator is then defined as sub-aggregator, so that the top matching hits are collected per bucket.
 
 Also a `max` aggregator is defined which is used by the `terms` aggregator's order feature the return the buckets by
 relevancy order of the most relevant document in a bucket.
@@ -272,4 +272,4 @@ the second slow of the `nested_child_field` field:
  ]
 }
 ...
---------------------------------------------------
+--------------------------------------------------