Class SearchScoreDetails
Represents the scoreDetails object for a document in the result.
public sealed class SearchScoreDetails
- Inheritance
-
SearchScoreDetails
- Inherited Members
Constructors
SearchScoreDetails(double, string, SearchScoreDetails[])
Initializes a new instance of the SearchScoreDetails class.
public SearchScoreDetails(double value, string description, SearchScoreDetails[] details)
Parameters
value
doubleContribution towards the score by a subset of the scoring formula.
description
stringSubset of the scoring formula.
details
SearchScoreDetails[]Breakdown of the score for each match in the document.
Properties
Description
Gets the subset of the scoring formula including details about how the document was scored and factors considered in calculating the score.
[BsonElement("description")]
public string Description { get; }
Property Value
Details
Breakdown of the score for each match in the document based on the subset of the scoring formula. (if any).
[BsonDefaultValue(null)]
[BsonElement("details")]
public SearchScoreDetails[] Details { get; }
Property Value
Value
Gets the contribution towards the score by a subset of the scoring formula.
[BsonElement("value")]
public double Value { get; }