Docs: Update histogram-aggregation.asciidoc
filter in a filtered query should be under "filter" key Closes #6738
This commit is contained in:
parent
bd4699da7e
commit
80321d89d9
|
@ -142,7 +142,7 @@ Example:
|
|||
--------------------------------------------------
|
||||
{
|
||||
"query" : {
|
||||
"filtered" : { "range" : { "price" : { "to" : "500" } } }
|
||||
"filtered" : { "filter": { "range" : { "price" : { "to" : "500" } } } }
|
||||
},
|
||||
"aggs" : {
|
||||
"prices" : {
|
||||
|
|
Loading…
Reference in New Issue