Hi Everyone,

To explain this better,
fq={!geofilt pt=45.15,-93.85 sfield=store d=5} will search the gray area.
I want to search in a circle around my location but between 5 and 10 km,
the blue area.


[image: Inline image 1]


Regards
Ericz


On Tue, Oct 22, 2013 at 3:17 PM, Eric Grobler <impalah...@googlemail.com>wrote:

> Hi Everyone,
>
> Normally one would search for documents where the location is within a
> specified distance, for example widthin 5 km:
> fq={!geofilt pt=45.15,-93.85 sfield=store 
> d=5}<http://localhost:8983/solr/select?wt=json&indent=true&fl=name,store&q=*:*&fq=%7B!geofilt%20pt=45.15,-93.85%20sfield=store%20d=5%7D>
>
> It there a way to specify a range between 10 and 20 km?
> Something like:
> fq={!geofilt pt=45.15,-93.85 sfield=store distancefrom=10 
> distanceupto=20}<http://localhost:8983/solr/select?wt=json&indent=true&fl=name,store&q=*:*&fq=%7B!geofilt%20pt=45.15,-93.85%20sfield=store%20d=5%7D>
>
> Thanks
> Ericz
>

Reply via email to