"from" => "gte", "to" => "lte" in bool example (#22735)

This commit is contained in:
William Webber 2017-01-24 03:27:42 +11:00 committed by Clinton Gormley
parent d9a3ffcea0
commit abaf728882
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ POST _search
},
"must_not" : {
"range" : {
"age" : { "from" : 10, "to" : 20 }
"age" : { "gte" : 10, "lte" : 20 }
}
},
"should" : [