[ https://issues.apache.org/jira/browse/LUCENE-6908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nicholas Knize updated LUCENE-6908: ----------------------------------- Attachment: LUCENE-6908.patch Updated patch includes the following: * Pushes down approximation fixes to the Geo utility APIs * Refactors relation logic from {{GeoUtils}} into separate {{GeoRelationUtils}} class * Improves GeoDistance pole crossing by re-projecting to Earth Centered Earth Fixed (ECEF) * Adds {{approx}} flag to bypass advanced relation logic (useful for {{GeoPointField}} since approximations are already handled at the grid level * Removes {{AwaitsFix}} from {{TestGeoUtils.testGeoRelations}} Next step is to test w/ BKD integration. > TestGeoUtils.testGeoRelations is buggy with irregular rectangles > ---------------------------------------------------------------- > > Key: LUCENE-6908 > URL: https://issues.apache.org/jira/browse/LUCENE-6908 > Project: Lucene - Core > Issue Type: Bug > Reporter: Nicholas Knize > Attachments: LUCENE-6908.patch, LUCENE-6908.patch > > > The {{.testGeoRelations}} method doesn't exactly test the behavior of > GeoPoint*Query as its using the BKD split technique (instead of quad cell > division) to divide the space on each pass. For "large" distance queries this > can create a lot of irregular rectangles producing large radial distortion > error when using the cartesian approximation methods provided by > {{GeoUtils}}. This issue improves the accuracy of GeoUtils cartesian > approximation methods on irregular rectangles without having to cut over to > an expensive oblate geometry approach. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org