We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e09e9a1 commit d4970e8Copy full SHA for d4970e8
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
172
belong to. By defining a `terms` aggregator on the `domain` field we group the result set of webpages by domain. The
173
`top_hits` aggregator is then defined as sub-aggregator, so that the top matching hits are collected per bucket.
174
175
-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
176
relevancy order of the most relevant document in a bucket.
177
178
[source,js]
0 commit comments