lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-5170) Spatial multi-value distance sort via DocValues
Date Mon, 09 Jan 2017 21:42:58 GMT

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

David Smiley commented on SOLR-5170:
------------------------------------

The fastest is very likely "LatLonDocValuesField", currently hiding out in Lucene sandbox.
 There are some really clever tricks it does.

Interested in adding a Solr adapter for it?

> Spatial multi-value distance sort via DocValues
> -----------------------------------------------
>
>                 Key: SOLR-5170
>                 URL: https://issues.apache.org/jira/browse/SOLR-5170
>             Project: Solr
>          Issue Type: New Feature
>          Components: spatial
>            Reporter: David Smiley
>            Assignee: David Smiley
>         Attachments: SOLR-5170_spatial_multi-value_sort_via_docvalues.patch, SOLR-5170_spatial_multi-value_sort_via_docvalues.patch,
SOLR-5170_spatial_multi-value_sort_via_docvalues.patch.txt
>
>
> The attached patch implements spatial multi-value distance sorting.  In other words,
a document can have more than one point per field, and using a provided function query, it
will return the distance to the closest point.  The data goes into binary DocValues, and as-such
it's pretty friendly to realtime search requirements, and it only uses 8 bytes per point.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message