lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grant Ingersoll (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SOLR-1302) Fun with Distances - Add Distance functions for a variety of things
Date Sat, 14 Nov 2009 08:38:39 GMT

     [ 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

Adds in SquaredEuclideanFunction and EuclideanFunction distance functions in addition to the
others.  Both can calculate the Euclidean distance on an n-dimensional vector made up of the
fields of a document.  See the unit test (DistanceFunctionTest) for an example.

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


Mime
View raw message