[
https://issues.apache.org/jira/browse/LUCENE-6908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15058081#comment-15058081
]
Steve Rowe edited comment on LUCENE-6908 at 12/15/15 2:00 PM:
--------------------------------------------------------------
My Jenkins found a reproducible failure in TestGeoUtils.testGeoRelations:
{noformat}
[junit4] Suite: org.apache.lucene.util.TestGeoUtils
[junit4] 1> doc=1921 matched but should not on iteration 229
[junit4] 1> lon=87.14082470163703 lat=-89.39206877723336
distanceMeters=205662.45440744862 vs radiusMeters=203580.37384777897
[junit4] 1> doc=2077 matched but should not on iteration 229
[junit4] 1> lon=63.26208980754018 lat=-89.36728684231639
distanceMeters=204170.67218267516 vs radiusMeters=203580.37384777897
[junit4] 2> NOTE: download the large Jenkins line-docs file by running
'ant get-jenkins-line-docs' in the lucene directory.
[junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestGeoUtils
-Dtests.method=testGeoRelations -Dtests.seed=4513B1942DE0E2D3
-Dtests.multiplier=2 -Dtests.nightly=true -Dtests.slow=true
-Dtests.linedocsfile=/home/jenkins/lucene-data/enwiki.random.lines.txt
-Dtests.locale=lv -Dtests.timezone=America/St_Vincent -Dtests.asserts=true
-Dtests.file.encoding=UTF-8
[junit4] FAILURE 2.24s | TestGeoUtils.testGeoRelations <<<
[junit4] > Throwable #1: java.lang.AssertionError: 2 incorrect hits (see
above)
{noformat}
was (Author: steve_rowe):
My
> 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: [email protected]
For additional commands, e-mail: [email protected]