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
/// <typeparam name="TNewResult">The type of the new result.</typeparam>
372
+
/// <param name="pipelines">The map of named pipelines whose results will be combined. The pipelines must operate on the same collection.</param>
373
+
/// <param name="weights">The map of pipeline names to non-negative numerical weights determining result importance during combination. Default weight is 1 when unspecified.</param>
/// Appends a $rankFusion stage to the pipeline. Pipelines will be automatically named as "pipeline1", "pipeline2", etc.
394
+
/// </summary>
395
+
/// <typeparam name="TNewResult">The type of the new result.</typeparam>
396
+
/// <param name="pipelinesWithWeights">The collection of tuples containing (pipeline, weight) pairs. The pipelines must operate on the same collection.</param>
/// <typeparam name="TInput">The type of the documents.</typeparam>
988
+
/// <typeparam name="TOutput">The type of the output documents.</typeparam>
989
+
/// <typeparam name="TIntermediate">The type of the intermediate documents.</typeparam>
990
+
/// <param name="pipeline">The pipeline.</param>
991
+
/// <param name="pipelines">The map of named pipelines whose results will be combined. The pipelines must operate on the same collection.</param>
992
+
/// <param name="weights">The map of pipeline names to non-negative numerical weights determining result importance during combination. Default weight is 1 when unspecified.</param>
/// Appends a $rankFusion stage to the pipeline. Pipelines will be automatically named as "pipeline1", "pipeline2", etc.
1026
+
/// </summary>
1027
+
/// <typeparam name="TInput">The type of the documents.</typeparam>
1028
+
/// <typeparam name="TOutput">The type of the output documents.</typeparam>
1029
+
/// <typeparam name="TIntermediate">The type of the intermediate documents.</typeparam>
1030
+
/// <param name="pipeline">The pipeline.</param>
1031
+
/// <param name="pipelinesWithWeights">The collection of tuples containing (pipeline, weight) pairs. The pipelines must operate on the same collection.</param>
Copy file name to clipboardExpand all lines: src/MongoDB.Driver/PipelineStageDefinitionBuilder.cs
+105Lines changed: 105 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1431,6 +1431,111 @@ public static PipelineStageDefinition<TInput, SearchMetaResult> SearchMeta<TInpu
1431
1431
returnstage;
1432
1432
}
1433
1433
1434
+
/// <summary>
1435
+
/// Creates a $rankFusion stage.
1436
+
/// </summary>
1437
+
/// <typeparam name="TInput">The type of the input documents.</typeparam>
1438
+
/// <typeparam name="TOutput">The type of the output documents.</typeparam>
1439
+
/// <param name="pipelines">The map of named pipelines whose results will be combined. The pipelines must operate on the same collection.</param>
1440
+
/// <param name="weights">The map of pipeline names to non-negative numerical weights determining result importance during combination. Default weight is 1 when unspecified.</param>
/// Creates a $rankFusion stage. Pipelines will be automatically named as "pipeline1", "pipeline2", etc.
1512
+
/// </summary>
1513
+
/// <typeparam name="TInput">The type of the input documents.</typeparam>
1514
+
/// <typeparam name="TOutput">The type of the output documents.</typeparam>
1515
+
/// <param name="pipelinesWithWeights">The collection of tuples containing (pipeline, weight) pairs. The pipelines must operate on the same collection.</param>
0 commit comments