diff --git a/docs/reference/query-dsl/geo-distance-range-query.asciidoc b/docs/reference/query-dsl/geo-distance-range-query.asciidoc deleted file mode 100644 index c54c50638bc..00000000000 --- a/docs/reference/query-dsl/geo-distance-range-query.asciidoc +++ /dev/null @@ -1,43 +0,0 @@ -[[query-dsl-geo-distance-range-query]] -=== Geo Distance Range Query - -Filters documents that exists within a range from a specific point: - -[source,js] --------------------------------------------------- -GET /_search -{ - "query": { - "bool" : { - "must" : { - "match_all" : {} - }, - "filter" : { - "geo_distance_range" : { - "from" : "200km", - "to" : "400km", - "pin.location" : { - "lat" : 40, - "lon" : -70 - } - } - } - } - } -} --------------------------------------------------- -// CONSOLE - -Supports the same point location parameter and query options as the -<> -filter. And also support the common parameters for range (lt, lte, gt, -gte, from, to, include_upper and include_lower). - -[float] -==== Ignore Unmapped - -When set to `true` the `ignore_unmapped` option will ignore an unmapped field -and will not match any documents for this query. This can be useful when -querying multiple indexes which might have different mappings. When set to -`false` (the default value) the query will throw an exception if the field -is not mapped. diff --git a/docs/reference/query-dsl/geo-queries.asciidoc b/docs/reference/query-dsl/geo-queries.asciidoc index 0bdf70f5b8d..e60e4bcf615 100644 --- a/docs/reference/query-dsl/geo-queries.asciidoc +++ b/docs/reference/query-dsl/geo-queries.asciidoc @@ -22,11 +22,6 @@ The queries in this group are: Finds document with geo-points within the specified distance of a central point. -<> query:: - - Like the `geo_point` query, but the range starts at a specified distance - from the central point. - <> query:: Find documents with geo-points within the specified polygon. @@ -38,6 +33,4 @@ include::geo-bounding-box-query.asciidoc[] include::geo-distance-query.asciidoc[] -include::geo-distance-range-query.asciidoc[] - include::geo-polygon-query.asciidoc[] diff --git a/docs/reference/redirects.asciidoc b/docs/reference/redirects.asciidoc index d6870f81a10..1f7640cea78 100644 --- a/docs/reference/redirects.asciidoc +++ b/docs/reference/redirects.asciidoc @@ -254,6 +254,15 @@ The `fuzzy_like_this_field` or `flt_field` query has been removed. Instead use the <> parameter with the <> or the <>. +[role="exclude",id="query-dsl-geo-distance-range-query"] +=== Geo distance range Query + +The `geo_distance_range` query has been removed. Instead use the +<> with pagination +or the +<> +depending on your needs. + [role="exclude",id="query-dsl-geohash-cell-query"] === Geohash Cell Query