CompoundSearchDefinitionBuilder<TDocument> Class |
Namespace: MongoDB.Driver.Search
The CompoundSearchDefinitionBuilder<TDocument> type exposes the following members.
Name | Description | |
---|---|---|
![]() | CompoundSearchDefinitionBuilder<TDocument> |
Initializes a new instance of the CompoundSearchDefinitionBuilder<TDocument> class.
|
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Filter(SearchDefinition<TDocument>[]) |
Adds clauses which must all match for a document to be included in the
results.
|
![]() | Filter(IEnumerable<SearchDefinition<TDocument>>) |
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(SearchDefinition<TDocument>[]) |
Adds clauses which must match to produce results.
|
![]() | Must(IEnumerable<SearchDefinition<TDocument>>) |
Adds clauses which must match to produce results.
|
![]() | MustNot(SearchDefinition<TDocument>[]) |
Adds clauses which must not match for a document to be included in the
results.
|
![]() | MustNot(IEnumerable<SearchDefinition<TDocument>>) |
Adds clauses which must not match for a document to be included in the
results.
|
![]() | Should(SearchDefinition<TDocument>[]) |
Adds clauses which cause documents in the result set to be scored higher if
they match.
|
![]() | Should(IEnumerable<SearchDefinition<TDocument>>) |
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 | |
---|---|---|
![]() ![]() | Implicit(CompoundSearchDefinitionBuilder<TDocument> to SearchDefinition<TDocument>) |
Performs an implicit conversion from a CompoundSearchDefinitionBuilder<TDocument>
to a SearchDefinition<TDocument>.
|
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.) |