SearchScoreFunctionBuilder<TDocument> Class |
Namespace: MongoDB.Driver.Search
The SearchScoreFunctionBuilder<TDocument> type exposes the following members.
Name | Description | |
---|---|---|
![]() | SearchScoreFunctionBuilder<TDocument> | Initializes a new instance of the SearchScoreFunctionBuilder<TDocument> class |
Name | Description | |
---|---|---|
![]() | Add(SearchScoreFunction<TDocument>[]) |
Creates a function that adds a series of numbers.
|
![]() | Add(IEnumerable<SearchScoreFunction<TDocument>>) |
Creates a function that adds a series of numbers.
|
![]() | Constant |
Creates a function that represents a constant number.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Gauss(Expression<Func<TDocument, Double>>, Double, Double, Double, Double) |
Creates a function that decays, or reduces by multiplying, the final scores of the
documents based on the distance of a numeric field from a specified origin point.
|
![]() | Gauss(SearchPathDefinition<TDocument>, Double, Double, Double, Double) |
Creates a function that decays, or reduces by multiplying, the final scores of the
documents based on the distance of a numeric field from a specified origin point.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Log |
Creates a function that calculates the base-10 logarithm of a number.
|
![]() | Log1p |
Creates a function that adds 1 to a number and then calculates its base-10 logarithm.
|
![]() | Multiply(SearchScoreFunction<TDocument>[]) |
Creates a function that multiplies a series of numbers.
|
![]() | Multiply(IEnumerable<SearchScoreFunction<TDocument>>) |
Creates a function that multiplies a series of numbers.
|
![]() | Path(Expression<Func<TDocument, Double>>, Double) |
Creates a function that incorporates an indexed numeric field value into the score.
|
![]() | Path(SearchPathDefinition<TDocument>, Double) |
Creates a function that incorporates an indexed numeric field value into the score.
|
![]() | Relevance |
Creates a function that represents the relevance score, which is the score Atlas Search
assigns documents based on relevance.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) |
![]() | ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) |
![]() | ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |