This seems to work with the example data, perhaps there's a more
elegant way of doing it though....

http://localhost:8983/solr/select?q=*:*&sfield=store&pt=45.15,-93.85&fq={!frange
l=6 u=400}geodist()

returns all the stores between 6 and 400

Best
Erick

On Sat, Jun 2, 2012 at 8:43 PM, reeuv <rahul.arora....@gmail.com> wrote:
> Hi everyone
>
> I am trying to do distance range search using Solr.
>
> I know its very easy to do a search for filtering within the 5km range
> /&q=*:*&fq={!geofilt pt=45.15,-93.85 sfield=store d=5}/
>
> What I am after is how to do the same thing if I am looking in a range of
> say *5 to 10 km* ??
>
> Thanks
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Distance-Range-Filtering-tp3987395.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to