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 Thu, 27 Aug 2015 12:49:46 GMT


Karl Wright commented on LUCENE-6759:

Yup, tiny:

   [junit4]    > Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Null
path point! Shape = GeoCircle: {planetmodel=PlanetModel.SPHERE, center=[lat=-0.006204510641448213,
lon=0.004660366014742108], radius=1.2622491508618621E-8(7.232154903835664E-7)}

It's still three orders of magnitude larger than the limit, but when things get that small
the math gets less stable.  I am tempted to catch these things during construction of the
GeoCircle and throw an IllegalArgumentException whenever the math falls apart.  It's unlikely
that anyone in the real world, except for missile designers, would be interested in centimeter
resolution anyway. ;-)  What do you think?

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

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

View raw message