RE: Sort by distance from location?

2009-04-21 Thread Ensdorf Ken
PM > To: solr-user@lucene.apache.org > Subject: Sort by distance from location? > > Hi everybody, > My index has latitude/longitude values for locations. I am > required to > do a search based on a set of criteria, and order the results based on > how > far the lat/long locatio

Re: Sort by distance from location?

2009-04-14 Thread Development Team
Ah, good question: Yes, we've tried it... and it was slower. To give some avg times: Regular non-distance Searches: 100ms Our expanding-criteria solution: 600ms LocalSolr: 800ms (We also had problems with LocalSolr in that the results didn't seem to be cached in Solr upon doing a search. So eac

Re: Sort by distance from location?

2009-04-14 Thread Smiley, David W.
Have you tried LocalSolr? http://www.gissearch.com/localsolr (I haven't but looks cool) On 4/14/09 5:31 PM, "Development Team" wrote: Hi everybody, My index has latitude/longitude values for locations. I am required to do a search based on a set of criteria, and order the results based on

Sort by distance from location?

2009-04-14 Thread Development Team
Hi everybody, My index has latitude/longitude values for locations. I am required to do a search based on a set of criteria, and order the results based on how far the lat/long location is to the current user's location. Currently we are emulating such a search by adding criteria of ever-widen