Docs: Update bool-filter.asciidoc

from, to deprecated in favour of gt, lt

Closes #10682
This commit is contained in:
Christine 2015-04-20 12:41:21 -04:00 committed by Clinton Gormley
parent f64739788b
commit 9e81e4c09b
1 changed files with 4 additions and 4 deletions

View File

@ -12,8 +12,8 @@ accept a filter.
{ {
"filtered" : { "filtered" : {
"query" : { "query" : {
"queryString" : { "queryString" : {
"default_field" : "message", "default_field" : "message",
"query" : "elasticsearch" "query" : "elasticsearch"
} }
}, },
@ -24,7 +24,7 @@ accept a filter.
}, },
"must_not" : { "must_not" : {
"range" : { "range" : {
"age" : { "from" : 10, "to" : 20 } "age" : { "gte" : 10, "lt" : 20 }
} }
}, },
"should" : [ "should" : [
@ -38,6 +38,6 @@ accept a filter.
} }
} }
} }
} }
-------------------------------------------------- --------------------------------------------------