lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Facet on same field in different ways
Date Tue, 16 Jun 2015 18:22:29 GMT

: Have you tried this syntax ?
: 
: &facet=true&facet.field={!ex=st key=terms facet.limit=5
: facet.prefix=ap}query_terms&facet.field={!key=terms2
: facet.limit=1}query_terms&rows=0&facet.mincount=1
: 
: This seems the proper syntax, I found it here :

yeah, local params are supported for specifying facet "options" like this.  
Aparently it never got documented, but i've added a comment to the 
Faceting page with techproducts example anyone can try with solr out ofthe 
box...

https://cwiki.apache.org/confluence/display/solr/Faceting?focusedCommentId=58851733#comment-58851733




-Hoss
http://www.lucidworks.com/

Mime
View raw message