Description
I haven't thought this through completely, let alone write up a patch / test case, but IIUC...
We should be able to optimize {{ BooleanQuery rewriteNoScoring() }} so that (after converting MUST clauses to FILTER clauses) we can check for the common case of 0==getMinimumNumberShouldMatch() and throw away any SHOULD clauses as long as there is is at least one FILTER clause.