The previous ticket SERVER-104552 created utility functions that commonizes the extraction and validation of weights logic (including typo suggestion). In this ticket, install these utilities into score fusion. Remove the existing more bare bones weights extraction logic that already exists.
Add score_fusion_weights_test.js and score_fusion_weights_typo_suggestion_test.js
- depends on
-
SERVER-104552 Factor out $rankFusion weights validation and extraction logic into hybrid search util
-
- In Code Review
-
- duplicates
-
SERVER-100194 Change $scoreFusion weights object to accept a subset of pipelines specified
-
- Closed
-
- is depended on by
-
SERVER-100176 Tracking: Refactor common code between $rankFusion and $scoreFusion
-
- Backlog
-
- is related to
-
SERVER-99675 Improve feedback for misspelled $rankFusion pipelines in weights object
-
- Closed
-