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

Michael McCandless commented on LUCENE-7913:
--------------------------------------------

There is already a nearest neighbors query in Lucene's sandbox module for 
lat/lon (2D) points, accessible from {{LatLonPoint.nearest}}; maybe that could 
be adapted to more general Euclidean distance for N dimensional points?

> Add oal.search.PointNearestNeighborsQuery and 
> oal.document.*Point.newNearestNeighborsQuery()
> --------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-7913
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7913
>             Project: Lucene - Core
>          Issue Type: Improvement
>    Affects Versions: 6.6
>            Reporter: Eric R Hartford
>            Assignee: Michael McCandless
>            Priority: Minor
>
> Multidimensional points have a range query but they don't have a nearest 
> neighbors query.
> Requesting oal.search.PointNearestNeighborsQuery and 
> oal.document.*Point.newNearestNeighborsQuery()
> http://www.alglib.net/other/nearestneighbors.php



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to