I believe this is what you are looking for. I renamed the field called "store" to "coords" in the schema.xml file. The tricky part is building out the query. I am using SolrNet to do this though and have not yet cracked the problem.
http://localhost:8983/solr/select?q=*:*+AND+eventdate:[2006-01-21T00:00:000Z+TO+2007-01-21T00:00:000Z]&fq={!bbox}&sfield=coords&pt=32.15,-93.85&d=500 Adam On Wed, Jan 12, 2011 at 8:01 PM, caman <aboxfortheotherst...@gmail.com>wrote: > > Ok, this could be very easy to do but was not able to do this. > Need to enable location search i.e. if someone searches for location 'New > York' => show results for New York and results within 50 miles of New York. > We do have latitude/longitude stored in database for each record but not > sure how to index these values to enable spatial search. > Any help would be much appreciated. > > thanks > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-4-0-Spatial-Search-How-to-tp2245592p2245592.html > Sent from the Solr - User mailing list archive at Nabble.com. >