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.

Reply via email to