lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-6780) GeoPointDistanceQuery doesn't work with a large radius?
Date Mon, 19 Oct 2015 21:30:27 GMT

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

Michael McCandless commented on LUCENE-6780:
--------------------------------------------

bq. git svn is behind by 3 days.

Not good!

Thanks [~nknize], I committed the last patch, but I hit this test failure in the new "geo
API self-consistency" test:

{noformat}
   [junit4] Started J0 PID(17316@localhost).
   [junit4] Suite: org.apache.lucene.util.TestGeoUtils
   [junit4]   1> doc=113 did not match but should
   [junit4]   1>   lon=19.101526554407 lat=-85.2135864567328 distanceMeters=220459.12109877667
vs radiusMeters=220827.9418903528
   [junit4]   1> doc=814 did not match but should
   [junit4]   1>   lon=18.946167779153978 lat=-85.21667574378826 distanceMeters=220122.387740399
vs radiusMeters=220827.9418903528
   [junit4]   1> doc=1340 did not match but should
   [junit4]   1>   lon=19.231482133213458 lat=-85.21195787282232 distanceMeters=220639.0006665368
vs radiusMeters=220827.9418903528
   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestGeoUtils -Dtests.method=testGeoRelations
-Dtests.seed=A1A8548928708420 -Dtests.locale=en_PH -Dtests.timezone=Africa/Mogadishu -Dtests.asserts=true
-Dtests.file.encoding=UTF-8
   [junit4] FAILURE 0.09s | TestGeoUtils.testGeoRelations <<<
   [junit4]    > Throwable #1: java.lang.AssertionError: 3 incorrect hits (see above)
   [junit4]    > 	at __randomizedtesting.SeedInfo.seed([A1A8548928708420:638B403C5C87F29E]:0)
   [junit4]    > 	at org.apache.lucene.util.TestGeoUtils.testGeoRelations(TestGeoUtils.java:506)
   [junit4]    > 	at java.lang.Thread.run(Thread.java:745)
   [junit4]   2> NOTE: test params are: codec=FastCompressingStoredFields(storedFieldsFormat=CompressingStoredFieldsFormat(compressionMode=FAST,
chunkSize=25153, maxDocsPerChunk=7, blockSize=932), termVectorsFormat=CompressingTermVectorsFormat(compressionMode=FAST,
chunkSize=25153, blockSize=932)), sim=ClassicSimilarity, locale=en_PH, timezone=Africa/Mogadishu
   [junit4]   2> NOTE: Linux 3.13.0-61-generic amd64/Oracle Corporation 1.8.0_60 (64-bit)/cpus=8,threads=1,free=422996528,total=504889344
   [junit4]   2> NOTE: All tests run in this JVM: [TestGeoUtils]
   [junit4] Completed [1/1] in 0.24s, 1 test, 1 failure <<< FAILURES!
{noformat}

Seems like boundary cases because the actual distance vs query distance are pretty close?

> GeoPointDistanceQuery doesn't work with a large radius?
> -------------------------------------------------------
>
>                 Key: LUCENE-6780
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6780
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Michael McCandless
>         Attachments: LUCENE-6780-heap-used-hack.patch, LUCENE-6780.patch, LUCENE-6780.patch,
LUCENE-6780.patch, LUCENE-6780.patch, LUCENE-6780.patch, LUCENE-6780.patch, LUCENE-6780.patch,
LUCENE-6780.patch
>
>
> I'm working on LUCENE-6698 but struggling with test failures ...
> Then I noticed that TestGeoPointQuery's test never tests on large distances, so I modified
the test to sometimes do so (like TestBKDTree) and hit test failures.



--
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