: Thank you for the reply. The facet range gap loks good but it is too far down
: the line to be of use, I wish it was implemented though.
: 
: What I want is really a more simple question
: 
: http://wiki.apache.org/solr/SimpleFacetParameters#facet.range
: 
: Is it correct that to add facets on date and distance i should be looking at
: "facet range"?

range faceting is appropriate when you want Solr to determine a set of N 
non-overlapping ranges of fixed size based on some lower & upper bounds 
you privde (ie: "counts per day every day for the past month" or "price 
ranges of $50 each from $0-$1000"

If you have a specific, finite, set of ranges you want to facet on --
regardless of wether they overlap -- then you can use facet.query...

?q=...
&facet=true
&facet.query={!key=today}date_field:[NOW/DAY TO NOW/DAY+1DAY]
&facet.query={!key=yesterday}date_field:[NOW-1DAY/DAY TO NOW/DAY]
&facet.query={!key=so_far_this_month}date_field:[NOW/MONTH TO NOW/DAY+1DAY]
&etc...



-Hoss

Reply via email to