-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Analytics/GeoIndexing, search aggregations of geo points and shapesIndexing, search aggregations of geo points and shapes>docsGeneral docs changesGeneral docs changesv5.4.4v6.0.3
Description
Related to #21670
We are still documenting geo_distance_range in our docs:
And also Java Client users can still see the related builders without any deprecation notice:
In 5.0, 5.1 and 5.x branches we should mark related methods and classes as deprecated, same for our documentation (ref guide and java guide)
In 6.0 we should remove those methods.
In 5.0 series, we should use the deprecation logger in case anyone is using that on 2.x indices.
For 5.x indices, it fails nicely with messages like:
[failed to parse [geohash_cell] query. geo_point field no longer supports geohash_cell queries][geo_distance_range] queries are no longer supported for geo_point field types. Use geo_distance sort or aggregations
Metadata
Metadata
Assignees
Labels
:Analytics/GeoIndexing, search aggregations of geo points and shapesIndexing, search aggregations of geo points and shapes>docsGeneral docs changesGeneral docs changesv5.4.4v6.0.3