Skip to content

ToParentBlockJoinQuery's explain should depend on its ScoreMode #12204

@kashkambath

Description

@kashkambath

Description

Currently, ToParentBlockJoinQuery's explain() returns the explanation for the highest-scoring child document, regardless of the ScoreMode. If the ScoreMode is ScoreMode.Max, this makes sense. However, for other ScoreModes (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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions