kashkambath opened a new issue, #12204:
URL: https://github.com/apache/lucene/issues/12204

   ### Description
   
   Currently, `ToParentBlockJoinQuery`'s 
[explain()](https://github.com/apache/lucene/blob/4851bd74f402602f53719374b777c702a7d06fe5/lucene/join/src/java/org/apache/lucene/search/join/ToParentBlockJoinQuery.java#L401-L422)
 returns the explanation for the highest-scoring child document, regardless of 
the 
[ScoreMode](https://github.com/apache/lucene/blob/main/lucene/join/src/java/org/apache/lucene/search/join/ScoreMode.java).
 If the `ScoreMode` is `ScoreMode.Max`, this makes sense. However, for other 
`ScoreMode`s (`Min`, `Avg`, `Total`), this output is not as helpful for the 
user. We should make the explain output for `ToParentBlockJoinQuery` depend on 
the `ScoreMode` used in the query.


-- 
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.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

Reply via email to