[
https://issues.apache.org/jira/browse/LUCENE-6908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15067233#comment-15067233
]
Steve Rowe commented on LUCENE-6908:
------------------------------------
Another reproducible failure from my Jenkins (on branch_5x):
{noformat}
[junit4] Suite: org.apache.lucene.util.TestGeoUtils
[junit4] 1> doc=1357 matched but should not on iteration 2
[junit4] 1> lon=-24.478504993021488 lat=88.08790524490178
distanceMeters=303542.5030168316 vs radiusMeters=295327.75445295114
[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=BAD657FC92E56596 -Dtests.slow=true
-Dtests.linedocsfile=/home/jenkins/lucene-data/enwiki.random.lines.txt
-Dtests.locale=lv -Dtests.timezone=America/Knox_IN -Dtests.asserts=true
-Dtests.file.encoding=US-ASCII
[junit4] FAILURE 0.33s J0 | TestGeoUtils.testGeoRelations <<<
[junit4] > Throwable #1: java.lang.AssertionError: 1 incorrect hits (see
above)
[junit4] > at
__randomizedtesting.SeedInfo.seed([BAD657FC92E56596:78F54349E6121328]:0)
[junit4] > at
org.apache.lucene.util.TestGeoUtils.testGeoRelations(TestGeoUtils.java:533)
[junit4] > at java.lang.Thread.run(Thread.java:745)
[junit4] 2> NOTE: test params are: codec=Lucene54,
sim=RandomSimilarityProvider(queryNorm=false,coord=crazy): {}, locale=lv,
timezone=America/Knox_IN
[junit4] 2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation
1.8.0_45 (64-bit)/cpus=16,threads=1,free=434060912,total=514850816
[junit4] 2> NOTE: All tests run in this JVM: [TestGeoUtils]
[junit4] Completed [1/20 (1!)] on J0 in 1.14s, 8 tests, 1 failure <<<
FAILURES!
{noformat}
> 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]