lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-6759) Integrate lat/long BKD and spatial 3d, part 2
Date Tue, 25 Aug 2015 23:59:45 GMT

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

Karl Wright commented on LUCENE-6759:
-------------------------------------

This one is different.  Basically, this time the XYZSolid is *definitely* within the GeoCircle.
 So the membership operation between the point and the circle is failing but should not be.
 Evaluating the circle plane at the point yields: 1.1158007851008733E-10, which is indeed
outside the shape value.  But, the point is clearly not quite on the surface, so that can
happen.

So here we have a case where the packing resolution is definitely causing the assertion failure.

What I think better behavior might be is to simply disable the assert.  This will mean that
points that are *technically* outside the shape will still get returned once in a while, but
I imagine that this would basically just wind up making the boundary a bit fuzzy.  I could
add a method that would check for membership at a lower resolution but that's a fair bit of
work just to support the one assertion.

Thoughts?

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