-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Integration
-
Minor Change
-
ALL
While working on SERVER-91278, I am finding that these pipelines do not return an error, but I think they should, since "searchScore" is not defined:
coll.aggregate([\{$set: {score: {$meta: "searchScore"}}}]); coll.aggregate([\{$sort: {score: {$meta: "searchScore"}}}]);
coll.aggregate([\{$set: {score: {$meta: "vectorSearchScore"}}}]); coll.aggregate([\{$sort: {score: {$meta: "vectorSearchScore"}}}]);
This task/work is related to SERVER-69872, but I think it's different/supporting.
- is related to
-
SERVER-69872 Send necessary information to decide whether (vector?)searchScore is needed to mongot
- Open
- related to
-
SERVER-94668 POC 'scoreDetails' for $score
- In Progress
-
SERVER-40900 Agg pipeline static analysis does not always fail $meta when metadata is unavailable
- Backlog