No, although the Query Parsers chapter of the book has a little more
description for "mm". I'm hoping I'll have a draft of the book published on
Friday.
The LucidWorks doc for minMatch in their query parser is here:
http://docs.lucidworks.com/display/lweug/Minimum+Match+for+Simple+Queries
-- Jack Krupansky
-----Original Message-----
From: anand_solr
Sent: Monday, June 17, 2013 11:30 PM
To: solr-user@lucene.apache.org
Subject: Re: mm (Minimum 'Should' Match)
Thank Jack. Do you have any link to documents where I can refer for more?
I saw one of the link mentioning something similar that I can extend? Do
you think this will help?
http://everydaydeveloper.blogspot.com/2013/03/minimum-match-per-index-field-solr.html?m=1
On Mon, Jun 17, 2013 at 10:59 PM, Jack Krupansky-2 [via Lucene] <
ml-node+s472066n4071202...@n3.nabble.com> wrote:
The "mm" parameter only applies to the top level query, not nested
queries.
At the top level you have:
(...) AND (...)
And it's an AND, not OR.
The LucidWorks Search query parser does support minMatch at any level,
such
as:
(...)~2 AND (...)~2
-- Jack Krupansky
-----Original Message-----
From: anand_solr
Sent: Monday, June 17, 2013 10:14 PM
To: [hidden email] <http://user/SendEmail.jtp?type=node&node=4071202&i=0>
Subject: mm (Minimum 'Should' Match)
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.
------------------------------
If you reply to this email, your message will be added to the discussion
below:
http://lucene.472066.n3.nabble.com/mm-Minimum-Should-Match-tp4071197p4071202.html
To unsubscribe from mm (Minimum 'Should' Match), click
here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4071197&code=a3JlY21lY2hAZ21haWwuY29tfDQwNzExOTd8LTYxNTk4OTAxNQ==>
.
NAML<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
--
View this message in context:
http://lucene.472066.n3.nabble.com/mm-Minimum-Should-Match-tp4071197p4071205.html
Sent from the Solr - User mailing list archive at Nabble.com.