Open superdaminou opened 10 months ago
Pinging @elastic/es-analytics-geo (Team:Analytics)
This is actually expected and somewhat documented here https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-geo-bounding-box-query.html#_notes_on_precision. I think the only action to take here is to improve documentation so I will relabel this issue to docs.
Pinging @elastic/es-docs (Team:Docs)
Pinging @elastic/es-analytical-engine (Team:Analytics)
Elasticsearch Version
8.4.1
Installed Plugins
No response
Java Version
bundled
OS Version
Windows 11 Professionnal Version 22H2 22621.2428
Problem Description
While trying to create an aggregation on a geo_point (same for geo_shape of type Point) the geobound aggregation doesn't return the correct value for a single point.
As a user with
When i use the aggregation geo_bounds
Expected:
Actual:
Steps to Reproduce
All of this is repoduced with the following docker image: docker.elastic.co/elasticsearch/elasticsearch:8.4.1. Same behaviour with docker.elastic.co/elasticsearch/elasticsearch:8.10.4
Create an index with geo_shape attribute
Insert a single POINT with simple coordinates
Trying to aggregate with geo_bounds
Logs (if relevant)
No response