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

Karl Wright commented on LUCENE-6699:
-------------------------------------

Investigating another failure:

{code}
   [junit4] Suite: org.apache.lucene.bkdtree3d.TestGeo3DPointField
   [junit4]   2> VIII 19, 2015 11:13:35 PM com.carrotsearch.randomizedtesting.Ra
ndomizedRunner$QueueUncaughtExceptionsHandler uncaughtException
   [junit4]   2> WARNING: Uncaught exception in thread: Thread[T3,5,TGRP-TestGeo
3DPointField]
   [junit4]   2> java.lang.AssertionError
   [junit4]   2>        at __randomizedtesting.SeedInfo.seed([D03EF31A709F9117]:
0)
   [junit4]   2>        at org.apache.lucene.bkdtree3d.PointInGeo3DShapeQuery$1.
scorer(PointInGeo3DShapeQuery.java:105)
   [junit4]   2>        at org.apache.lucene.search.LRUQueryCache$CachingWrapper
Weight.scorer(LRUQueryCache.java:581)
   [junit4]   2>        at org.apache.lucene.search.Weight.bulkScorer(Weight.jav
a:135)
   [junit4]   2>        at org.apache.lucene.search.AssertingWeight.bulkScorer(A
ssertingWeight.java:69)
   [junit4]   2>        at org.apache.lucene.search.AssertingWeight.bulkScorer(A
ssertingWeight.java:69)
   [junit4]   2>        at org.apache.lucene.search.IndexSearcher.search(IndexSe
archer.java:618)
   [junit4]   2>        at org.apache.lucene.search.AssertingIndexSearcher.searc
h(AssertingIndexSearcher.java:92)
   [junit4]   2>        at org.apache.lucene.search.IndexSearcher.search(IndexSe
archer.java:425)
   [junit4]   2>        at org.apache.lucene.bkdtree3d.TestGeo3DPointField$4._ru
n(TestGeo3DPointField.java:586)
   [junit4]   2>        at org.apache.lucene.bkdtree3d.TestGeo3DPointField$4.run
(TestGeo3DPointField.java:520)
   [junit4]   2>
   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestGeo3DPointField
-Dtests.method=testRandomTiny -Dtests.seed=D03EF31A709F9117 -Dtests.slow=true -D
tests.locale=bg -Dtests.timezone=Indian/Kerguelen -Dtests.asserts=true -Dtests.f
ile.encoding=Cp1252
   [junit4] ERROR   0.62s J0 | TestGeo3DPointField.testRandomTiny <<<
   [junit4]    > Throwable #1: com.carrotsearch.randomizedtesting.UncaughtExcept
ionError: Captured an uncaught exception in thread: Thread[id=17, name=T3, state
=RUNNABLE, group=TGRP-TestGeo3DPointField]
   [junit4]    >        at __randomizedtesting.SeedInfo.seed([D03EF31A709F9117:9
9792D5C2EBEA9BB]:0)
   [junit4]    > Caused by: java.lang.AssertionError
   [junit4]    >        at __randomizedtesting.SeedInfo.seed([D03EF31A709F9117]:
0)
   [junit4]    >        at org.apache.lucene.bkdtree3d.PointInGeo3DShapeQuery$1.
scorer(PointInGeo3DShapeQuery.java:105)
   [junit4]    >        at org.apache.lucene.search.LRUQueryCache$CachingWrapper
Weight.scorer(LRUQueryCache.java:581)
   [junit4]    >        at org.apache.lucene.search.Weight.bulkScorer(Weight.jav
a:135)
   [junit4]    >        at org.apache.lucene.search.AssertingWeight.bulkScorer(A
ssertingWeight.java:69)
   [junit4]    >        at org.apache.lucene.search.AssertingWeight.bulkScorer(A
ssertingWeight.java:69)
   [junit4]    >        at org.apache.lucene.search.IndexSearcher.search(IndexSe
archer.java:618)
   [junit4]    >        at org.apache.lucene.search.AssertingIndexSearcher.searc
h(AssertingIndexSearcher.java:92)
   [junit4]    >        at org.apache.lucene.search.IndexSearcher.search(IndexSe
archer.java:425)
   [junit4]    >        at org.apache.lucene.bkdtree3d.TestGeo3DPointField$4._ru
n(TestGeo3DPointField.java:586)
   [junit4]    >        at org.apache.lucene.bkdtree3d.TestGeo3DPointField$4.run
(TestGeo3DPointField.java:520)
   [junit4] IGNOR/A 0.02s J0 | TestGeo3DPointField.testRandomBig
   [junit4]    > Assumption #1: 'nightly' test group is disabled (@Nightly())
   [junit4]   2> NOTE: test params are: codec=Asserting(Lucene53): {}, docValues
:{}, sim=DefaultSimilarity, locale=bg, timezone=Indian/Kerguelen
   [junit4]   2> NOTE: Windows 7 6.1 amd64/Oracle Corporation 1.8.0_05 (64-bit)/
cpus=4,threads=1,free=171382464,total=245366784
   [junit4]   2> NOTE: All tests run in this JVM: [TestGeo3DPointField]
{code}

Stay tuned...

> Integrate lat/lon BKD and spatial3d
> -----------------------------------
>
>                 Key: LUCENE-6699
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6699
>             Project: Lucene - Core
>          Issue Type: New Feature
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>         Attachments: Geo3DPacking.java, LUCENE-6699.patch, LUCENE-6699.patch, 
> LUCENE-6699.patch, LUCENE-6699.patch, LUCENE-6699.patch, LUCENE-6699.patch, 
> LUCENE-6699.patch, LUCENE-6699.patch, LUCENE-6699.patch, LUCENE-6699.patch, 
> LUCENE-6699.patch, LUCENE-6699.patch, LUCENE-6699.patch, LUCENE-6699.patch, 
> LUCENE-6699.patch, LUCENE-6699.patch, LUCENE-6699.patch, LUCENE-6699.patch, 
> LUCENE-6699.patch, LUCENE-6699.patch
>
>
> I'm opening this for discussion, because I'm not yet sure how to do
> this integration, because of my ignorance about spatial in general and
> spatial3d in particular :)
> Our BKD tree impl is very fast at doing lat/lon shape intersection
> (bbox, polygon, soon distance: LUCENE-6698) against previously indexed
> points.
> I think to integrate with spatial3d, we would first need to record
> lat/lon/z into doc values.  Somewhere I saw discussion about how we
> could stuff all 3 into a single long value with acceptable precision
> loss?  Or, we could use BinaryDocValues?  We need all 3 dims available
> to do the fast per-hit query time filtering.
> But, second: what do we index into the BKD tree?  Can we "just" index
> earth surface lat/lon, and then at query time is spatial3d able to
> give me an enclosing "surface lat/lon" bbox for a 3d shape?  Or
> ... must we index all 3 dimensions into the BKD tree (seems like this
> could be somewhat wasteful)?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to