Table of Contents

Class SearchPathDefinitionBuilder<TDocument>

Namespace
MongoDB.Driver.Search
Assembly
MongoDB.Driver.dll

A builder for a search path.

public sealed class SearchPathDefinitionBuilder<TDocument>

Type Parameters

TDocument

The type of the document.

Inheritance
SearchPathDefinitionBuilder<TDocument>
Inherited Members

Methods

Analyzer(FieldDefinition<TDocument>, string)

Creates a search path that searches using the specified analyzer.

Analyzer<TField>(Expression<Func<TDocument, TField>>, string)

Creates a search path that searches using the specified analyzer.

Multi(params FieldDefinition<TDocument>[])

Creates a search path for multiple fields.

Multi(IEnumerable<FieldDefinition<TDocument>>)

Creates a search path for multiple fields.

Multi<TField>(params Expression<Func<TDocument, TField>>[])

Creates a search path for multiple fields.

Single(FieldDefinition<TDocument>)

Creates a search path for a single field.

Single<TField>(Expression<Func<TDocument, TField>>)

Creates a search path for a single field.

Wildcard(string)

Creates a search path that uses special characters in the field name that can match any character.