Re: Range query syntax on a polygon field is returning all documents

2019-05-12 Thread David Smiley
I answered in StackOverflow but will paste it here: Geo3D requires that polygons adhere to the "right hand rule", and thus the exterior ring must be in counter-clockwise order and holes must be clockwise. If you make this mistake then the meaning of the shape is inverted, and thus that little rec

Re: Range query syntax on a polygon field is returning all documents

2019-03-20 Thread David Smiley
Hi Mitchell, Seems like there's a bug based on what you've shown. * Can you please try RptWithGeometrySpatialField instead of SpatialRecursivePrefixTreeFieldType to see if the problem goes away? This could point to a precision issue; though still what you've seen is suspicious. * Can you try one o