Hi,

If I want to do a proximity search and they have provided me with a name of
a city, for example, “London”. How do I search this by proximity within
Solr?

I am assuming I first need a process to convert the city name to a long and
lat, so that Solr can understand where London is. Is this something that I
need to build into my PHP application or is there a system for this already
in Solr? 

Secondly, how does it work with the size of the city. If I want to search
for pizza in London, how do I automatically put a radius of say 100 miles on
it, whereas if it is a small town the radius would only be small, say 20
miles.

Thanks for any help you can give,

James

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Location-Based-Searching-Long-Lat-tp3914086p3914086.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to