lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Norman Leutner (JIRA)" <>
Subject [jira] Commented: (SOLR-773) Incorporate Local Lucene/Solr
Date Thu, 14 May 2009 15:52:45 GMT


Norman Leutner commented on SOLR-773:


just a comment on the distance function.

So breaking things down, it seems like we basically need to be able to:
1) filter by a bounding box
2) filter by a geo radius (impl could first get the bounding box and narrow within that...)
3) sort by distance
4) return the distance

Due tue the surface distance on 0° latitude is 111.320 km per 1° longitude,
on 90° latitude it is 0 km per 1° longitude, if you use a rectangle that does not include
any sphere information,
this would be very inaccurate.

Instead (if not to load intense) some mathematical functions should be used here. 
For example you can calculate the distance between a given latitude and longitude and another
position by calculating 
the radian measure between these two points using the angle to the earth middle.

> Incorporate Local Lucene/Solr
> -----------------------------
>                 Key: SOLR-773
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>            Priority: Minor
>         Attachments: lucene.tar.gz, SOLR-773-local-lucene.patch, SOLR-773-local-lucene.patch,
SOLR-773-local-lucene.patch, SOLR-773-local-lucene.patch, SOLR-773-local-lucene.patch, SOLR-773.patch,
SOLR-773.patch, spatial-solr.tar.gz
> Local Lucene has been donated to the Lucene project.  It has some Solr components, but
we should evaluate how best to incorporate it into Solr.
> See

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

View raw message