Hi,

 

In the early Solr 1.3 times we had an index with leisure-time objects that 
included geographical coordinates. Based on certain conditions we had to 
display a specific list of nearby objects. We simply implemented some Great 
Circle calculations such as the distance between points [1] and aggregated 
nearby objects and sent then to our index. The drawback is that for each 
addition to the index, you'd have to recalculate all other nearby objects, that 
takes a while. The good thing is, in production, the system isn't slowed down 
by these calculations so it's very fast.

 

[1]: http://williams.best.vwh.net/avform.htm#Dist

 

Cheers,
 
-----Original message-----
From: Dennis Gearon <gear...@sbcglobal.net>
Sent: Mon 20-09-2010 19:42
To: solr-user@lucene.apache.org; 
Subject: Re: Calculating distances in Solr using longitude latitude

Hmmm,
    I am about to put a engineer on our search engine requirements with the 
assumption that latitude/longitude is available in the current release of Solr, 
(not knowing what that is). 

    I have been partitioning the whole Solr thing to him,except enough info for 
me to understand and interface to his work. Sooooooooo, I don't have that 
answer.

    Can someone else answer him?


Dennis Gearon

Signature Warning
----------------
EARTH has a Right To Life,
 otherwise we all die.

Read 'Hot, Flat, and Crowded'
Laugh at http://www.yert.com/film.php


--- On Mon, 9/20/10, PeterKerk <vettepa...@hotmail.com> wrote:

> From: PeterKerk <vettepa...@hotmail.com>
> Subject: Re: Calculating distances in Solr using longitude latitude
> To: solr-user@lucene.apache.org
> Date: Monday, September 20, 2010, 6:53 AM
> 
> Hi Dennis,
> 
> Good suggestion, but I see that most of that is Solr 4.0
> functionality,
> which has not been released yet.
> How can I still use the longitude latitude functionality
> (LatLonType)?
> 
> Thanks!
> -- 
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Calculating-distances-in-Solr-using-longitude-latitude-tp1524297p1529097.html
> Sent from the Solr - User mailing list archive at
> Nabble.com.
> 

Reply via email to