Remove docs for the removed `geo_distance_range` query.
This commit is contained in:
parent
c5b9c98b99
commit
eed5de20e0
|
@ -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
|
|
||||||
<<query-dsl-geo-distance-query,geo_distance>>
|
|
||||||
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.
|
|
|
@ -22,11 +22,6 @@ The queries in this group are:
|
||||||
Finds document with geo-points within the specified distance of a central
|
Finds document with geo-points within the specified distance of a central
|
||||||
point.
|
point.
|
||||||
|
|
||||||
<<query-dsl-geo-distance-range-query,`geo_distance_range`>> query::
|
|
||||||
|
|
||||||
Like the `geo_point` query, but the range starts at a specified distance
|
|
||||||
from the central point.
|
|
||||||
|
|
||||||
<<query-dsl-geo-polygon-query,`geo_polygon`>> query::
|
<<query-dsl-geo-polygon-query,`geo_polygon`>> query::
|
||||||
|
|
||||||
Find documents with geo-points within the specified polygon.
|
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-query.asciidoc[]
|
||||||
|
|
||||||
include::geo-distance-range-query.asciidoc[]
|
|
||||||
|
|
||||||
include::geo-polygon-query.asciidoc[]
|
include::geo-polygon-query.asciidoc[]
|
||||||
|
|
|
@ -254,6 +254,15 @@ The `fuzzy_like_this_field` or `flt_field` query has been removed. Instead use
|
||||||
the <<query-dsl-match-query-fuzziness,`fuzziness`>> parameter with the
|
the <<query-dsl-match-query-fuzziness,`fuzziness`>> parameter with the
|
||||||
<<query-dsl-match-query,`match` query>> or the <<query-dsl-mlt-query>>.
|
<<query-dsl-match-query,`match` query>> or the <<query-dsl-mlt-query>>.
|
||||||
|
|
||||||
|
[role="exclude",id="query-dsl-geo-distance-range-query"]
|
||||||
|
=== Geo distance range Query
|
||||||
|
|
||||||
|
The `geo_distance_range` query has been removed. Instead use the
|
||||||
|
<<query-dsl-geo-distance-query, Geo Distance Query>> with pagination
|
||||||
|
or the
|
||||||
|
<<search-aggregations-bucket-geodistance-aggregation, Geo Distance Aggregation>>
|
||||||
|
depending on your needs.
|
||||||
|
|
||||||
[role="exclude",id="query-dsl-geohash-cell-query"]
|
[role="exclude",id="query-dsl-geohash-cell-query"]
|
||||||
=== Geohash Cell Query
|
=== Geohash Cell Query
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue