I am not sure if this is supported out of box in Solr.

Search by giving multiple facet fields and query containing set of values
for each facet field & minimum should match parameter for each facets.  The
result should be document contains facets with minimum match.

Eg: solr documents of type electronic products.  so each document will
contain category [lcd,led,plasma], manufacture [sony,samsung, apple]
information.

query something like

http://localhost:8983/solr/select?q=(category:lcd+OR+category:led+OR+category:plasma)+AND+(manufacture:sony+OR+manufacture:samsung+OR+manufacture:apple)&facet.field=category&facet.field=manufacture&fl=id&mm=2

Should return the documents containing "category with matching atleast 2
keywords [lcd,led or lcd,plasma or other valid combination] AND manufacture
with matching atleast 2 keywords [sony,samsung or samsung,apple or other
valid combination]"...







--
View this message in context: 
http://lucene.472066.n3.nabble.com/mm-Minimum-Should-Match-tp4071197.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to