Click or drag to resize

SearchPathDefinitionBuilder<TDocument> Class

A builder for a search path.
Inheritance Hierarchy
System.Object
  MongoDB.Driver.Search.SearchPathDefinitionBuilder<TDocument>

Namespace:  MongoDB.Driver.Search
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntax
public sealed class SearchPathDefinitionBuilder<TDocument>

Type Parameters

TDocument
The type of the document.

The SearchPathDefinitionBuilder<TDocument> type exposes the following members.

Constructors
  NameDescription
Public methodSearchPathDefinitionBuilder<TDocument>
Initializes a new instance of the SearchPathDefinitionBuilder<TDocument> class
Top
Methods
  NameDescription
Public methodAnalyzer(FieldDefinition<TDocument>, String)
Creates a search path that searches using the specified analyzer.
Public methodAnalyzer<TField>(Expression<Func<TDocument, TField>>, String)
Creates a search path that searches using the specified analyzer.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodMulti(FieldDefinition<TDocument>[])
Creates a search path for multiple fields.
Public methodMulti(IEnumerable<FieldDefinition<TDocument>>)
Creates a search path for multiple fields.
Public methodMulti<TField>(Expression<Func<TDocument, TField>>[])
Creates a search path for multiple fields.
Public methodSingle(FieldDefinition<TDocument>)
Creates a search path for a single field.
Public methodSingle<TField>(Expression<Func<TDocument, TField>>)
Creates a search path for a single field.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWildcard
Creates a search path that uses special characters in the field name that can match any character.
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