lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <>
Subject [jira] [Commented] (LUCENE-6759) Integrate lat/long BKD and spatial 3d, part 2
Date Mon, 24 Aug 2015 16:38:46 GMT


Karl Wright commented on LUCENE-6759:

I wound up discovering that the delta between a shape and the XYZBounds that might be returned
for a shape was more than 10x 1.5e-12.   That's not a number I can increase MINIMUM_RESOLUTION
to, unfortunately.

The cause of the delta is that very same case of a very small circle on or about z=0.  The
delta between the geocircle's plane and the maxz value may only be 1e-16, but if the circle
is small enough that delta translates to a delta in Z of 5e-11 or so, which is way outside

The solution I'm exploring now is to simply add a "fudge factor" to all bounds values. This
fudge factor is designed to cover any deltas due to error values being magnified in this way.
 So far (beasting round 20) it seems to be working.  I may also reduce MINIMUM_RESOLUTION
to a lower value if this seems to be effective for all of our test cases.

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

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message