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.
Description
Hi.
It is not possible to build a
geo_shapequery with the type ofpointwith existing shape and query builders in elastic java client v8.6.0. There isGeoLineshape but it requires multiple lists of coordinates.Desired search request is:
It can be achieved with a custom GeoPoint shape class but I think it would be nice to have it along with the
GeoLinein the client api.