-
Type: Engineering Test
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Integration
Follow-up work to SERVER-96792 - and related to SERVER-93521 - I remembered that there's some logic related to tracking usage of textScore metadata when we split the pipeline. I think we need to (a) make sure we didn't screw this up if you use $meta: "score" instead of $meta: "textScore" by adding some tests with references to "score" in some piece of the pipeline we know will execute after a split point and (b) see if this code might have hints about how we could implement SERVER-93521. It seems like the text search scenario would give a good example of how to do this. Relatedly, we should probably (c) add tests for the similar cases of split pipelines with $search and $vectorSearch also.
- is related to
-
SERVER-93521 Enforce that "searchScore" and "vectorSearchScore" cannot be used when undefined.
- Backlog
-
SERVER-96792 Allow {$meta: "score"} to return any kind of score metadata
- In Code Review