[
https://issues.apache.org/jira/browse/LUCENE-7150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15218313#comment-15218313
]
Karl Wright edited comment on LUCENE-7150 at 3/30/16 5:12 PM:
--------------------------------------------------------------
bq. What does this mean...?
It means you have two adjacent points that are identical.
[~mikemccand] Looking at the values passed, it appears that the last point is
the same as the first. In geo3d it is unnecessary to specify the last point;
it's implied. The javadoc for polygons elsewhere did not make it clear that
you needed to do this -- but is this how the API works for 2D? If so it's easy
to correct for.
was (Author: [email protected]):
bq. What does this mean...?
It means that your polygon has two adjacent sides that are essentially colinear
with each other. I'll have to think of a way to address this in a less ugly
fashion.
> geo3d public APIs should match the 2D apis?
> -------------------------------------------
>
> Key: LUCENE-7150
> URL: https://issues.apache.org/jira/browse/LUCENE-7150
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Michael McCandless
> Attachments: LUCENE-7150-sphere.patch, LUCENE-7150.patch,
> LUCENE-7150.patch, LUCENE-7150.patch, LUCENE-7150.patch
>
>
> I'm struggling to benchmark the equivalent to
> {{LatLonPoint.newDistanceQuery}} in the geo3d world.
> Ideally, I think we'd have a {{Geo3DPoint.newDistanceQuery}}? And it would
> take degrees, not radians, and radiusMeters, not an angle?
> And if I index and search using {{PlanetModel.SPHERE}} I think it should
> ideally give the same results as {{LatLonPoint.newDistanceQuery}}, which uses
> haversin.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]