jpountz commented on issue #14026: URL: https://github.com/apache/lucene/issues/14026#issuecomment-2507848755
I found the problem. When adding the new rewrite rule, I was assuming that we would have rewritten a query where the number of should clauses is less than `minimumShouldMatch` but we only do this if there is at least one SHOULD clause. So this query found a bug by having a `minimumShouldMatch` of 1 on a query without SHOULD clauses. I'll merge a fix shortly. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org