-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Integration
For new metadata fields added in this project (I think just "score" and "scoreDetails"), we should fail the query if we try to reference the metadata field when it's not defined. For example, the pipeline {$project: {$meta: "score"}} should fail since "score" is not populated.
We should also think about how this interacts with "searchScore" and "searchScoreDetails".
It's unclear how challenging this will be to pull off, but we should at least investigate it.
- depends on
-
SERVER-99596 Refactor how metadata dependencies are validated
- In Code Review
- is related to
-
SERVER-93521 Enforce that "searchScore" and "vectorSearchScore" cannot be used when undefined.
- Backlog
- related to
-
SERVER-99153 $rankFusion scoreDetails should be empty if not requested by top-level pipeline
- Open