top_hits doc example description update (#30676)

Example description does not fit example code.
This commit is contained in:
Piotr Prądzyński 2018-05-17 16:21:25 +02:00 committed by Colin Goodheart-Smithe
parent 712473b558
commit cefbd29db3
1 changed files with 2 additions and 2 deletions

View File

@ -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]
--------------------------------------------------