Browse Source

Docs: Correcting a typo in tophits (#32359)

Sandeep Kanabar 7 years ago
parent
commit
7ad16ffd84
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/reference/aggregations/metrics/tophits-aggregation.asciidoc

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

@@ -172,7 +172,7 @@ In the example below we search across crawled webpages. For each webpage we stor
 belong to. By defining a `terms` aggregator on the `domain` field we group the result set of webpages by domain. The
 `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
+Also a `max` aggregator is defined which is used by the `terms` aggregator's order feature to return the buckets by
 relevancy order of the most relevant document in a bucket.
 
 [source,js]