Skip to content

Builtin GeoPoint shape #501

Description

@ozcanyus

Description

Hi.

It is not possible to build a geo_shape query with the type of point with existing shape and query builders in elastic java client v8.6.0. There is GeoLine shape but it requires multiple lists of coordinates.

Desired search request is:

"geo_shape": {
  "field_name": {
    "shape": {
      "type": "point",
      "coordinates": [
        29.0,
        40.0
      ]
    }
  }
}

It can be achieved with a custom GeoPoint shape class but I think it would be nice to have it along with the GeoLine in the client api.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions