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
fieldFieldDefinition<TDocument>The field definition
analyzerNamestringThe 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
fieldExpression<Func<TDocument, TField>>The field definition
analyzerNamestringThe name of the analyzer.
Returns
- SearchPathDefinition<TDocument>
An analyzer search path.
Type Parameters
TFieldThe type of the field.