Method Analyzer
Analyzer(FieldDefinition<TDocument>, string)
Creates a search path that searches using the specified analyzer.
public SearchPathDefinition<TDocument> Analyzer(FieldDefinition<TDocument> field, string analyzerName)
Parameters
field
FieldDefinition<TDocument>The field definition
analyzerName
stringThe name of the analyzer.
Returns
- SearchPathDefinition<TDocument>
An analyzer search path.
Analyzer<TField>(Expression<Func<TDocument, TField>>, string)
Creates a search path that searches using the specified analyzer.
public SearchPathDefinition<TDocument> Analyzer<TField>(Expression<Func<TDocument, TField>> field, string analyzerName)
Parameters
field
Expression<Func<TDocument, TField>>The field definition
analyzerName
stringThe name of the analyzer.
Returns
- SearchPathDefinition<TDocument>
An analyzer search path.
Type Parameters
TField
The type of the field.