CompoundSearchDefinitionBuilderTDocument Class |
Namespace: MongoDB.Driver.Search
The CompoundSearchDefinitionBuilderTDocument type exposes the following members.
| Name | Description | |
|---|---|---|
| CompoundSearchDefinitionBuilderTDocument |
Initializes a new instance of the CompoundSearchDefinitionBuilderTDocument class.
|
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Filter(SearchDefinitionTDocument) |
Adds clauses which must all match for a document to be included in the
results.
| |
| Filter(IEnumerableSearchDefinitionTDocument) |
Adds clauses which must all match for a document to be included in the
results.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MinimumShouldMatch |
Sets a value specifying the minimum number of should clauses the must match
to include a document in the results.
| |
| Must(SearchDefinitionTDocument) |
Adds clauses which must match to produce results.
| |
| Must(IEnumerableSearchDefinitionTDocument) |
Adds clauses which must match to produce results.
| |
| MustNot(SearchDefinitionTDocument) |
Adds clauses which must not match for a document to be included in the
results.
| |
| MustNot(IEnumerableSearchDefinitionTDocument) |
Adds clauses which must not match for a document to be included in the
results.
| |
| Should(SearchDefinitionTDocument) |
Adds clauses which cause documents in the result set to be scored higher if
they match.
| |
| Should(IEnumerableSearchDefinitionTDocument) |
Adds clauses which cause documents in the result set to be scored higher if
they match.
| |
| ToSearchDefinition |
Constructs a search definition from the builder.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| (CompoundSearchDefinitionBuilderTDocument to SearchDefinitionTDocument) |
Performs an implicit conversion from a CompoundSearchDefinitionBuilderTDocument
to a SearchDefinitionTDocument.
|
| 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.) |