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

Karl Wright commented on LUCENE-7212:
-------------------------------------

bq. Also the encoding plays a role: to support sorting at all geo3d needs to 
figure out how to encode it in docvalues.

Right, some six months ago I attempted to code a packing of (X,Y,Z) into a 
single integer, using knowledge of the IEEE floating point spec to make this 
fast.  I'll have to find or reconstruct this.  What characteristics does this 
packing need to have in order to function properly in a sorted environment? In 
a two-phase environment?

> Add Geo3DPoint equivalents of LatLonPointDistanceComparator and 
> LatLonPointSortField
> ------------------------------------------------------------------------------------
>
>                 Key: LUCENE-7212
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7212
>             Project: Lucene - Core
>          Issue Type: Improvement
>    Affects Versions: master
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>
> Geo3D has a number of distance measurements and a generic way of computing 
> interior distance.  It would be great to take advantage of that for queries 
> that return results ordered by interior distance.



--
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