Skip to content

Remove geohash_cell and geo_distance_range queries #21825

@dadoonet

Description

@dadoonet

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

No one assigned

    Labels

    :Analytics/GeoIndexing, search aggregations of geo points and shapes>docsGeneral docs changesv5.4.4v6.0.3

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions