Skip to content

Commit

Permalink
Docs: Correcting a typo in tophits (#32359)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepkanabar authored and nik9000 committed Jul 26, 2018
1 parent e09e9a1 commit d4970e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit d4970e8

Please sign in to comment.