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

    [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message