CompoundSearchDefinitionBuilderTDocument Methods |
The CompoundSearchDefinitionBuilderTDocument generic type exposes the following members.
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Filter(IEnumerableSearchDefinitionTDocument) |
Adds clauses which must all match for a document to be included in the
results.
| |
Filter(SearchDefinitionTDocument) |
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(IEnumerableSearchDefinitionTDocument) |
Adds clauses which must match to produce results.
| |
Must(SearchDefinitionTDocument) |
Adds clauses which must match to produce results.
| |
MustNot(IEnumerableSearchDefinitionTDocument) |
Adds clauses which must not match for a document to be included in the
results.
| |
MustNot(SearchDefinitionTDocument) |
Adds clauses which must not match for a document to be included in the
results.
| |
Should(IEnumerableSearchDefinitionTDocument) |
Adds clauses which cause documents in the result set to be scored higher if
they match.
| |
Should(SearchDefinitionTDocument) |
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 | |
---|---|---|
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.) |