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

Robert Muir commented on LUCENE-7180:
-------------------------------------

Can we do the bounding box the same way as LatLonPoint 
(https://github.com/apache/lucene-solr/blob/master/lucene/sandbox/src/java/org/apache/lucene/document/LatLonPointDistanceComparator.java#L49-L58)
 where it is done in integer space instead?

This is important because then documents that are outside of the current 
top-N's bounding box can be rejected in compareBottom() without going thru 
decoding. In the case of GeoPointField it is only deinterleaving which is less.


> Add distance sorting to GeoPointField
> -------------------------------------
>
>                 Key: LUCENE-7180
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7180
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Nicholas Knize
>         Attachments: LUCENE-7180.patch
>
>
> This adds distance sort capability to {{GeoPointField}} similar to 
> {{LatLonPointSortField}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to