Table of Contents

Constructor ScoreFusionScoreDetails

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

ScoreFusionScoreDetails(double, string, string, BsonDocument, BsonDocument[])

Initializes a new instance of the ScoreFusionScoreDetails class.

public ScoreFusionScoreDetails(double value, string description, string normalization, BsonDocument combination, BsonDocument[] details)

Parameters

value double

The computed score which is the same as the score available via {$meta: "score"}.

description string

Description of how the score was computed.

normalization string

The normalization applied to per-pipeline scores before combination (e.g. "none", "sigmoid", "minMaxScaler").

combination BsonDocument

The combination configuration used to merge per-pipeline scores.

details BsonDocument[]

Info about how each input pipeline in the scoreFusion stage contributed to the computed score.

See Also