[
https://issues.apache.org/jira/browse/LUCENE-6578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14601620#comment-14601620
]
Michael McCandless commented on LUCENE-6578:
--------------------------------------------
I've looked at the patch a bit more and it already adds an interface
(GeoOutsideDistance) for these new methods?
Why should we make the abstractions even deeper (adding
DistanceStyle/DistanceType)? I think all the abstractions the spatial module
already has (even in its test cases) make it very hard to approach for
newcomers ... I don't think we should pollute geo3d in the same way?
Abstractions are costly, and we should err towards "too few abstractions" when
unsure.
I'll open an issue to move geo3d to sandbox ... I think this is a better home
for it for now, letting users know it's very new and APIs are subject to
change, and letting [~daddywri] make faster iterations to it. It would also
un-block issues like LUCENE-6480 ... I think a postings and BKD tree
integration based on geo3d would be very powerful.
> Geo3d: arcDistanceToShape() method may be useful
> ------------------------------------------------
>
> Key: LUCENE-6578
> URL: https://issues.apache.org/jira/browse/LUCENE-6578
> Project: Lucene - Core
> Issue Type: Bug
> Components: modules/spatial
> Reporter: Karl Wright
> Attachments: LUCENE-6578.patch, LUCENE-6578.revised.patch
>
>
> I've got an application that seems like it may need the ability to compute a
> new kind of arc distance, from a GeoPoint to the nearest edge/point of a
> GeoShape. Adding this method to the interface, and corresponding
> implementations, would increase the utility of the package for ranking
> purposes.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]