-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Integration
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
We have a js test that simulates the output of the $scoreFusion by running what is essentially the desugared query directly, in score_fusion_verbose_test.js.
With the introduction of the new $minMaxScaler window function on $setWindowFields, we should add another verbose test that uses $minMaxScaler directly. This should be simple to add:
- Add another runQueryTest case
- This one should use $minMaxScaler normalization as well, but replace these 2 stages ($setWindowFields + $project) with a single $setWindowFields that uses the $minMaxScaler window function directly
- The document expectations should be the same (define this list as a constant shared across the two min max scaler tests)
- depends on
-
SERVER-94599 Add $minMaxScalar window function for removable window implementations
-
- Closed
-
- is depended on by
-
SERVER-91279 Add example rank fusion tests which use $setWindowFields
-
- Closed
-