lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Male (JIRA)" <>
Subject [jira] Closed: (LUCENE-2151) Abstract the distance calculation process in the Spatial contrib
Date Wed, 01 Dec 2010 09:56:10 GMT


Chris Male closed LUCENE-2151.

    Resolution: Won't Fix
      Assignee: Chris Male  (was: Simon Willnauer)

Closing along with LUCENE-2139

> Abstract the distance calculation process in the Spatial contrib
> ----------------------------------------------------------------
>                 Key: LUCENE-2151
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: contrib/spatial
>    Affects Versions: 3.1
>            Reporter: Chris Male
>            Assignee: Chris Male
>         Attachments: LUCENE-2151.patch, LUCENE-2151.patch
> The spatial contrib shouldn't tie users to one particular way of calculating distances.
 Wikipedia lists multiple different formulas for the great-circle distance calculation, and
there are alternatives to that as well.  In a situation where many documents have the same
points, it would be useful to be able to cache some calculated values as well (currently this
is sort of handled in the filtering process itself).  
> This issue addresses this by abstracting away the distance calculator, allowing the user
to provide the implementation of choice.  It would then be possible to swap in different distance
calculation strategies without altering the distance filtering process itself.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message