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 Circle Search
Date Tue, 22 Oct 2013 19:55:07 GMT
Bill Bell suggested using frange and here is a stackoverflow example:


http://stackoverflow.com/questions/10867113/solr-distance-filtering
pt=45.15,-93.85&sfield=store&fq={!frange l=5 u=10 cache=false
cost=100}geodist()&fq={!bbox d=10}



On Tue, Oct 22, 2013 at 7:43 PM, Eric Grobler <impalaherd@googlemail.com>wrote:

> Hi Solr experts,
>
> fq={!geofilt pt=45.15,-93.85 sfield=store d=5} will return docs with 5 km
> (the gray area)
>
> I want to search in a circle around my location but only between 5 and 10
> km, the blue area.
>
> Something like:
> fq={!geofilt pt=45.15,-93.85 sfield=store *d=[10 TO 100]*}
>
> [image: Inline image 2]
>
> Is that possible in Solr?
>
> Thanks & regards
> Ericz
>

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