SearchScoreDefinitionBuilderTDocument Class |
Namespace: MongoDB.Driver.Search
The SearchScoreDefinitionBuilderTDocument type exposes the following members.
| Name | Description | |
|---|---|---|
| SearchScoreDefinitionBuilderTDocument | Initializes a new instance of the SearchScoreDefinitionBuilderTDocument class |
| Name | Description | |
|---|---|---|
| Boost(Double) |
Creates a score modifier that multiplies a result's base score by a given number.
| |
| Boost(ExpressionFuncTDocument, Double, Double) |
Creates a score modifier that multiplies a result's base score by the value of a numeric
field in the documents.
| |
| Boost(SearchPathDefinitionTDocument, Double) |
Creates a score modifier that multiples a result's base score by the value of a numeric
field in the documents.
| |
| Constant |
Creates a score modifier that replaces the base score with a given number.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Function |
Creates a score modifier that computes the final score through an expression.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| 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.) |