-
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
- Closed
-
SERVER-97103 Allow sorting by {$meta: "score"}
- Open
-
SERVER-40900 Agg pipeline static analysis does not always fail $meta when metadata is unavailable
- Backlog
-
SERVER-97104 Restrict {$meta: "score(Details)?"} to featureFlagHybridSearchPrerequisites and apiStrict=false
- Backlog
-
SERVER-97102 Stress test dependency tracking for {$meta: "score"} for pipelines spanning across sharded network split
- Open