Docs: Fix typo in field name in aggregations (#34223)

This commit is contained in:
Serge Populov 2018-10-02 19:29:32 +05:00 committed by Nik Everett
parent 5183ea3d68
commit 13af5d5d7f
1 changed files with 1 additions and 1 deletions

View File

@ -615,7 +615,7 @@ GET /_search
"aggs" : { "aggs" : {
"genres" : { "genres" : {
"terms" : { "terms" : {
"field" : "gender", "field" : "genre",
"script" : { "script" : {
"source" : "'Genre: ' +_value", "source" : "'Genre: ' +_value",
"lang" : "painless" "lang" : "painless"