timgrein opened a new pull request, #13362: URL: https://github.com/apache/lucene/pull/13362
## Closes https://github.com/apache/lucene/issues/13357 ### Description https://github.com/apache/lucene/issues/13357 states that it's useful to have the explanations of the sub queries of `DisjuncationMaxQuery` present even, if the document didn't match. Considering that other queries like `CoveringQuery` also include [explanations, if the document didn't match](https://github.com/apache/lucene/blob/25f1efd8eb34c2eb135a3c0850723ca5b03deec7/lucene/sandbox/src/java/org/apache/lucene/sandbox/search/CoveringQuery.java#L218-L223) I've adjusted the logic according to the issue's proposal. Also added tests for `explain` (match and no match case). -- 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