Instead of relying on $rankFusion.scoreDetails to implicitly set the $meta: score, we should explicitly set it in document_source_rank_fusion.cpp and refactor the scoreDetails metadata setter code/tests to not implicitly set it.
So - $rankFusion should always set 'score' metadata, regardless of whether scoreDetails is requested
Note: This may already be be done - validate as part of this ticket
- is related to
-
SERVER-100752 $rankFusion should output score metadata
-
- Closed
-