Browse Source

top_hits doc example description update (#30676)

Example description does not fit example code.
Piotr Prądzyński 7 years ago
parent
commit
cefbd29db3
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

@@ -28,8 +28,8 @@ The top_hits aggregation returns regular search hits, because of this many per h
 
 ==== Example
 
-In the following example we group the questions by tag and per tag we show the last active question. For each question
-only the title field is being included in the source.
+In the following example we group the sales by type and per type we show the last sale. 
+For each sale only the date and price fields are being included in the source.
 
 [source,js]
 --------------------------------------------------