lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Grobler <impalah...@googlemail.com>
Subject Function in facet.query like min,max
Date Tue, 17 Jan 2012 13:34:39 GMT
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

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