geo_shape query doesn't behave the same way when passing a rectangle that crosses the dateline as an Envelope or as a Polygon #46435
Labels
:Analytics/Geo
Indexing, search aggregations of geo points and shapes
Team:Analytics
Meta label for analytical engine team (ESQL/Aggs/Geo)
Elasticsearch version :
Version: 7.3.1, Build: default/tar/4749ba6/2019-08-19T20:19:25.651794Z, JVM: 1.8.0_181
JVM version :
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
OS version:
Linux tizintest 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Description of the problem including expected versus actual behavior:
Supposing I index a Polygon P in a
test
index. Then I apply 2 geo queries with the same polygon QP that crosses the dateline and where P is within QP.shape
field where QP is an envelopeshape
field where QP is a PolygonTherefore, 2
within
queries on the same zone QP have different results according to the chosen type for QPSteps to reproduce:
Changing the order of coordinates has no effect :
The text was updated successfully, but these errors were encountered: