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

Range query syntax on a polygon field is returning all documents

2019-03-17 Thread Mitchell Bösecke
Hi everyone, I'm trying to index geodetic polygons and then query them out using an arbitrary rectangle. When using the Geo3D spatial context factory, the data indexes just fine but using a range query (as per the solr documentation) does not seem to filter the results appropriately (I get all doc