"from" => "gte", "to" => "lte" in bool example (#22735)
This commit is contained in:
parent
d9a3ffcea0
commit
abaf728882
|
@ -60,7 +60,7 @@ POST _search
|
||||||
},
|
},
|
||||||
"must_not" : {
|
"must_not" : {
|
||||||
"range" : {
|
"range" : {
|
||||||
"age" : { "from" : 10, "to" : 20 }
|
"age" : { "gte" : 10, "lte" : 20 }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"should" : [
|
"should" : [
|
||||||
|
|
Loading…
Reference in New Issue