Docs: Update bool-filter.asciidoc
from, to deprecated in favour of gt, lt Closes #10682
This commit is contained in:
parent
f64739788b
commit
9e81e4c09b
|
@ -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.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue