You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Matt Davis <kr...@gmail.com> on 2021/10/13 23:09:37 UTC
Minimum should match query parser
Is there a way to use minimum should match in the search syntax?
For example a query like:
(cancer neoplasms tumor)~2 AND year:2020
Where I would be requiring two of the first three terms in parens. I see
when I make the query manually it does this syntax when I take the query
toString but I can't seem to make the QueryParser parse this format.
Thanks,
Matt