lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grijesh.singh" <pintu.grij...@gmail.com>
Subject Re: Solr 4.0 => Spatial Search - How to
Date Fri, 14 Jan 2011 06:17:11 GMT

I have used that type of location searching. But I have not used spatial
search. I wrote my logic at application end.
I have cached the location ids and their lat/lang. When queries are comming
for any location say "New Delhi" then my location searche logic at
application end calculate the distance from "New Delhi" to other locations
from my cache and short lists the only location which are in my radious. and
then I have goto solr for search on all locations i have got from my logic.

It works faster because it worked on only some data near about 500
locations. But in spatial search that calculation is done for all document
counts which we have .

So this workaround does not impact on performance when my index size will
grow up but spatial search do. 

-----
Grijesh
-- 
View this message in context: http://lucene.472066.n3.nabble.com/Solr-4-0-Spatial-Search-How-to-tp2245592p2253682.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message