From 13af5d5d7f45f27746aacf24aa73ef2faafd83aa Mon Sep 17 00:00:00 2001 From: Serge Populov Date: Tue, 2 Oct 2018 19:29:32 +0500 Subject: [PATCH] Docs: Fix typo in field name in aggregations (#34223) --- docs/reference/aggregations/bucket/terms-aggregation.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/aggregations/bucket/terms-aggregation.asciidoc b/docs/reference/aggregations/bucket/terms-aggregation.asciidoc index f42d176aea0..1562bf41074 100644 --- a/docs/reference/aggregations/bucket/terms-aggregation.asciidoc +++ b/docs/reference/aggregations/bucket/terms-aggregation.asciidoc @@ -615,7 +615,7 @@ GET /_search "aggs" : { "genres" : { "terms" : { - "field" : "gender", + "field" : "genre", "script" : { "source" : "'Genre: ' +_value", "lang" : "painless"