lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicholas Knize (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-6908) TestGeoUtils.testGeoRelations is buggy with irregular rectangles
Date Mon, 07 Dec 2015 21:22:10 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-6908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15045752#comment-15045752
] 

Nicholas Knize commented on LUCENE-6908:
----------------------------------------

Thanks [~mikemccand]! I plan to add the benchmark to luceneutil unless you think there's a
better place for it? Going to commit shortly.

> 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, 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message