[ https://issues.apache.org/jira/browse/LUCENE-7150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15216997#comment-15216997 ]
Karl Wright commented on LUCENE-7150: ------------------------------------- bq. pick something and be consistent If I pick "haversine distance in meters" as being the input distance for this API, is that consistent with the 2D api everywhere? > 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 > > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org