Yes, I have, but unfortunately it works on the whole index and not for a particular query.
On Tue, Jan 17, 2012 at 3:37 PM, Erick Erickson <erickerick...@gmail.com>wrote: > have you seen the Stats component? See: > http://wiki.apache.org/solr/StatsComponent > > Best > Erick > > On Tue, Jan 17, 2012 at 8:34 AM, Eric Grobler <impalah...@googlemail.com> > wrote: > > Hi Solr community, > > > > Is it possible to return the lowest, highest and average price of a > search > > result using facets? > > I tried something like: facet.query={!max(price,0)} > > Is it possible and what is the correct syntax? > > > > q=htc android > > facet=true > > facet.query=price:[* TO 10] > > facet.query=price:[11 TO 100] > > facet.query=price:[101 TO *] > > ??? facet.query={!max(price,0)} > > > > > > Thanks & Regards > > Ericz >