diff --git a/docs/reference/query-dsl/bool-query.asciidoc b/docs/reference/query-dsl/bool-query.asciidoc index 3649c21eab4..977953affc5 100644 --- a/docs/reference/query-dsl/bool-query.asciidoc +++ b/docs/reference/query-dsl/bool-query.asciidoc @@ -60,7 +60,7 @@ POST _search }, "must_not" : { "range" : { - "age" : { "from" : 10, "to" : 20 } + "age" : { "gte" : 10, "lte" : 20 } } }, "should" : [