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

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

Yup, tiny:

{code}
   [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)}
{code}

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: 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
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to