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

Reply via email to