Actually, I by looking at the results from the "geofilt" filter it would
appear that it's not giving me the results I'm looking for. Or maybe it
is...I need to convert my results to KML to see if it is actually performing
a proper radius query.

http://localhost:8983/solr/select?q=*:*&fq={!geofilt%20pt=39.0914154052734,-84.517822265625%20sfield=coords%20d=5000}<http://localhost:8983/solr/select?q=*:*+AND+eventdate:[2006-01-21T00:00:000Z+TO+2007-01-21T00:00:000Z]&fq={!geofilt%20pt=32.15,-93.85%20sfield=coords%20d=5000}>

<http://localhost:8983/solr/select?q=*:*+AND+eventdate:[2006-01-21T00:00:000Z+TO+2007-01-21T00:00:000Z]&fq={!geofilt%20pt=32.15,-93.85%20sfield=coords%20d=5000}>Please
let me know what you find.

Adam

On Wed, Jan 12, 2011 at 8:24 PM, Adam Estrada <estrada.adam.gro...@gmail.com
> wrote:

> 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<http://localhost:8983/solr/select?q=*:*+AND+eventdate:[2006-01-21T00:00:000Z+TO+2007-01-21T00:00:000Z]&fq=%7B!bbox%7D&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.
>>
>
>

Reply via email to