Docs: Update histogram-aggregation.asciidoc

filter in a filtered query should be under "filter" key

Closes #6738
This commit is contained in:
Andrii Gakhov 2014-07-04 15:52:20 +02:00 committed by Clinton Gormley
parent bd4699da7e
commit 80321d89d9
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ Example:
--------------------------------------------------
{
"query" : {
"filtered" : { "range" : { "price" : { "to" : "500" } } }
"filtered" : { "filter": { "range" : { "price" : { "to" : "500" } } } }
},
"aggs" : {
"prices" : {