Click or drag to resize

CompoundSearchDefinitionBuilderTDocument Methods

The CompoundSearchDefinitionBuilderTDocument generic type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFilter(IEnumerableSearchDefinitionTDocument)
Adds clauses which must all match for a document to be included in the results.
Public methodFilter(SearchDefinitionTDocument)
Adds clauses which must all match for a document to be included in the results.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodMinimumShouldMatch
Sets a value specifying the minimum number of should clauses the must match to include a document in the results.
Public methodMust(IEnumerableSearchDefinitionTDocument)
Adds clauses which must match to produce results.
Public methodMust(SearchDefinitionTDocument)
Adds clauses which must match to produce results.
Public methodMustNot(IEnumerableSearchDefinitionTDocument)
Adds clauses which must not match for a document to be included in the results.
Public methodMustNot(SearchDefinitionTDocument)
Adds clauses which must not match for a document to be included in the results.
Public methodShould(IEnumerableSearchDefinitionTDocument)
Adds clauses which cause documents in the result set to be scored higher if they match.
Public methodShould(SearchDefinitionTDocument)
Adds clauses which cause documents in the result set to be scored higher if they match.
Public methodToSearchDefinition
Constructs a search definition from the builder.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodToBson
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.)
Public Extension MethodToBsonDocument
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.)
Public Extension MethodToJson
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.)
Top
See Also