Currently, if the DisjunctionMaxQuery is used and the document did not match, the explanation from DisjunctionMaxWeight#explain only says No matching clause with no additional details (and the explanations from the subqueries are discarded).
In some use cases, it may be helpful to include individual "no-match" explanations from subqueries as they may provide more specific reason for why the document did not match.
Description
Currently, if the DisjunctionMaxQuery is used and the document did not match, the explanation from DisjunctionMaxWeight#explain only says
No matching clause
with no additional details (and the explanations from the subqueries are discarded).In some use cases, it may be helpful to include individual "no-match" explanations from subqueries as they may provide more specific reason for why the document did not match.