[
https://issues.apache.org/jira/browse/SOLR-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Grant Ingersoll updated SOLR-1302:
----------------------------------
Attachment: SOLR-1302.patch
Haversine implementation, RadianFunction and DegreeFunction. Also small
refactorings in other places to better support doubles to avoid losing
precision for as long as possible.
Next up: Euclidean and SquaredEuclidean
> Fun with Distances - Add Distance functions for a variety of things
> -------------------------------------------------------------------
>
> Key: SOLR-1302
> URL: https://issues.apache.org/jira/browse/SOLR-1302
> Project: Solr
> Issue Type: New Feature
> Reporter: Grant Ingersoll
> Assignee: Grant Ingersoll
> Priority: Minor
> Fix For: 1.5
>
> Attachments: SOLR-1302.patch
>
>
> There are many distance functions that are useful to have:
> 1. Great Circle (lat/lon) and other geo distances
> 2. Euclidean (Vector)
> 3. Manhattan (Vector)
> 4. Cosine (Vector)
> For the vector ones, the idea is that the fields on a document can be used to
> determine the vector.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.