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-6759) Integrate lat/long BKD and spatial 3d, part 2
Date Sat, 29 Aug 2015 10:18:46 GMT

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

Michael McCandless commented on LUCENE-6759:
--------------------------------------------

OK I committed a new test case, {{testGeo3DRelations}}.  It tries to do what BKD does (splitting
the containing bbox to smaller and smaller cells, checking relations), but w/o actually creating
a BKD tree.  It should also be much more easily debugged: from a failing doc, if you run w/
{{-Dtests.verbose=true}}, you can trace back to see why that doc was rejected or accepted.
 You can trace each cell back with it's parent cell ID.

It could very well have its own bugs!!  It's a bit hairy.

It's current failing, e.g.:

{noformat}
   [junit4] 
   [junit4] Started J0 PID(25192@localhost).
   [junit4] Suite: org.apache.lucene.bkdtree3d.TestGeo3DPointField
   [junit4]   1> doc=609 did not match but should
   [junit4]   1>   point=[lat=-5.236470872437899E-4, lon=3.992578692654256E-4]
   [junit4]   1>   quantized=[X=0.99999978300184, Y=3.9925798792357463E-4, Z=-5.236472936922905E-4]
   [junit4]   1> doc=616 did not match but should
   [junit4]   1>   point=[lat=5.643216334344694E-4, lon=1.5443991269764145E-4]
   [junit4]   1>   quantized=[X=0.9999998286366462, Y=1.5443982563653953E-4, Z=5.643214101736999E-4]
   [junit4]   1> doc=692 did not match but should
   [junit4]   1>   point=[lat=7.345633383289542E-5, lon=1.4914911140318868E-4]
   [junit4]   1>   quantized=[X=0.9999999860301614, Y=1.4914898208768525E-4, Z=7.345620546185235E-5]
   [junit4]   1> doc=724 did not match but should
   [junit4]   1>   point=[lat=-1.5122222798433137E-4, lon=-3.60525332492502E-4]
   [junit4]   1>   quantized=[X=0.9999999236315489, Y=-3.6052521334985514E-4, Z=-1.5122210613974468E-4]
   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestGeo3DPointField -Dtests.method=testGeo3DRelations
-Dtests.seed=7DD33C95035C93C9 -Dtests.slow=true -Dtests.linedocsfile=/lucenedata/hudson.enwiki.random.lines.txt.fixed
-Dtests.locale=hu -Dtests.timezone=America/Belize -Dtests.asserts=true -Dtests.file.encoding=UTF-8
   [junit4] FAILURE 0.11s | TestGeo3DPointField.testGeo3DRelations <<<
   [junit4]    > Throwable #1: java.lang.AssertionError
   [junit4]    > 	at __randomizedtesting.SeedInfo.seed([7DD33C95035C93C9:CDAC41018C113D55]:0)
   [junit4]    > 	at org.apache.lucene.bkdtree3d.TestGeo3DPointField.testGeo3DRelations(TestGeo3DPointField.java:673)
   [junit4]    > 	at java.lang.Thread.run(Thread.java:745)
   [junit4]   2> NOTE: test params are: codec=Asserting(Lucene53): {}, docValues:{}, sim=RandomSimilarityProvider(queryNorm=true,coord=yes):
{}, locale=hu, timezone=America/Belize
   [junit4]   2> NOTE: Linux 3.19.0-21-generic amd64/Oracle Corporation 1.8.0_51 (64-bit)/cpus=72,threads=1,free=415285240,total=514850816
   [junit4]   2> NOTE: All tests run in this JVM: [TestGeo3DPointField]
   [junit4] Completed [1/1] in 0.42s, 1 test, 1 failure <<< FAILURES!
{noformat}

When I run with verbose, it seems like we are getting an incorrect {{GeoArea.DISJOINT}} at
one point, causing this doc to be dropped.

> Integrate lat/long BKD and spatial 3d, part 2
> ---------------------------------------------
>
>                 Key: LUCENE-6759
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6759
>             Project: Lucene - Core
>          Issue Type: New Feature
>            Reporter: Michael McCandless
>         Attachments: LUCENE-6699.patch, LUCENE-6699.patch, LUCENE-6699.patch, LUCENE-6699.patch,
LUCENE-6699.patch, LUCENE-6699.patch, LUCENE-6699.patch, LUCENE-6699.patch
>
>
> This is just a continuation of LUCENE-6699, which became too big.



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