Class ScoreFusionOptions<TOutput>
Represents options for the $scoreFusion stage.
public sealed class ScoreFusionOptions<TOutput>
Type Parameters
TOutputThe type of the output documents.
- Inheritance
-
ScoreFusionOptions<TOutput>
- Inherited Members
Properties
- CombinationExpression
Gets or sets the aggregation expression used to combine scores when CombinationMethod is Expression. Pipeline scores are referenced by name as
$$pipelineNamevariables.
- CombinationMethod
Gets or sets the method used to combine scores from each input pipeline. When null, no method is emitted and the server defaults to Avg.
- OutputSerializer
Gets or sets the output serializer.
- ScoreDetails
Flag that specifies whether to make a detailed breakdown of the score for each document available as metadata. Setting this to true adds score information accessible via $meta, which can then be optionally projected in results.