You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/mongodb-constants/src/stage-operators.ts
+42Lines changed: 42 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -749,6 +749,48 @@ const STAGE_OPERATORS = [
749
749
`,
750
750
snippet: `{
751
751
\${1:specification(s)}
752
+
}`,
753
+
},
754
+
{
755
+
name: '$rankFusion',
756
+
value: '$rankFusion',
757
+
label: '$rankFusion',
758
+
outputStage: false,
759
+
fullScan: false,
760
+
firstStage: false,
761
+
score: 1,
762
+
env: [ATLAS],
763
+
meta: 'stage',
764
+
version: '8.1.0',
765
+
apiVersions: [],
766
+
namespaces: [COLLECTION],
767
+
description:
768
+
'Combines multiple pipelines using reciprocal rank fusion to create hybrid search results.',
769
+
comment: `/**
770
+
* input.pipelines: Required. Map from name to input pipeline. Each pipeline must be a Ranked Selection Pipeline operating on the same collection. Minimum of one pipeline.
771
+
* combination.weights: Optional. Map from pipeline name to numbers (non-negative). If unspecified, default weight is 1 for each pipeline.
772
+
* scoreDetails: Optional. Default false. Set to true to include detailed scoring information in {$meta: "scoreDetails"} for debugging and tuning.
0 commit comments