I want to enable users to select multiple facet values for a specific facet 
fields. For example, if "color" is a facet field, I'd like to let users to 
select "red" OR "blue".

Please note, I've set
<solrQueryParser defaultOperator="AND" />
because I want "q=hello+world" means "hello" and "world" are AND'ed together.

1) What is the syntax of doing that? Can I implement that by putting "OR" 
within the fq clause?
E.g.
&facet=on&facet.field=color&facet.field=size
&fq=color:(red OR blue)
&fq=size:(M OR L)

2) Is there a performance penalty associated with using "OR" on the facet 
values like that? If so how much of a penalty?

Thanks





      

Reply via email to