lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Grobler <impalah...@googlemail.com>
Subject Re: Spatial Distance Range
Date Tue, 22 Oct 2013 18:48:14 GMT
This question was badly phrased.
I asked it again under the heading "Spatial Circle Search"



On Tue, Oct 22, 2013 at 3:17 PM, Eric Grobler <impalaherd@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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message