From c3844697e115ebd3953029011e6089ffd1d36303 Mon Sep 17 00:00:00 2001
From: Mantas Simkus <mantas.simkus@ongr.io>
Date: Thu, 6 Aug 2015 15:46:49 +0300
Subject: [PATCH] edited TopHitsAggregation docs

---
 docs/Aggregation/TopHits.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/Aggregation/TopHits.md b/docs/Aggregation/TopHits.md
index 33ba81e..f70995b 100644
--- a/docs/Aggregation/TopHits.md
+++ b/docs/Aggregation/TopHits.md
@@ -16,7 +16,7 @@ so that the top matching documents can be aggregated per bucket.
                 "field": "tags",
                 "size": 3
             },
-            "aggs": {
+            "aggregations": {
                 "top_tag_hits": {
                     "top_hits": {
                         "sort": [
-- 
GitLab