Skip to content

Commit cefbd29

Browse files
prondzyncolings86
authored andcommitted
top_hits doc example description update (#30676)
Example description does not fit example code.
1 parent 712473b commit cefbd29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ The top_hits aggregation returns regular search hits, because of this many per h
2828

2929
==== Example
3030

31-
In the following example we group the questions by tag and per tag we show the last active question. For each question
32-
only the title field is being included in the source.
31+
In the following example we group the sales by type and per type we show the last sale.
32+
For each sale only the date and price fields are being included in the source.
3333

3434
[source,js]
3535
--------------------------------------------------

0 commit comments

Comments
 (0)