lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <>
Subject Re: Is there faceting with Solr 4 spatial?
Date Wed, 09 Jan 2013 00:33:41 GMT
For facets, doesn't
&facet.query={!frange l=0 u=3}geodist(store,45.15,-93.85)
&facet.query={!frange l=3.001 u=4}geodist(store,45.15,-93.85)
&facet.query={!frange l=4.001 u=5}geodist(store,45.15,-93.85)

work (from

Although I also confess to being really unfamiliar with all things


On Tue, Jan 8, 2013 at 4:02 AM, Alexandre Rafalovitch <>wrote:

> Hello,
> I am trying to understand the new Solr 4 spatial type and what it can do. I
> sort of understand the old implementation, though also far from well.
> The use case is to have companies that has multiple offices, for which I
> indexed locations. I then want to do a 'radar' style ranges/facets, so I
> can say "show me everything in 100k, in 300k, etc". The wiki page for old
> implementation shows how to do it, but I am having troubles figuring this
> out for new implementation.
> Regards,
>    Alex.
> P.s. "Not yet possible", "wait till 4.1/5", etc are perfectly valid
> shortest answers for me, at this stage.
> Personal blog:
> LinkedIn:
> - Time is the quality of nature that keeps events from happening all at
> once. Lately, it doesn't seem to be working.  (Anonymous  - via GTD book)

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