Defines an analyzer to use for the specified field.
Namespace: Lucene.Net.AnalysisAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public virtual void AddAnalyzer( string fieldName, Analyzer analyzer ) |
Visual Basic |
---|
Public Overridable Sub AddAnalyzer ( _ fieldName As String, _ analyzer As Analyzer _ ) |
Visual C++ |
---|
public: virtual void AddAnalyzer( String^ fieldName, Analyzer^ analyzer ) |
Parameters
- fieldName
- Type: System..::..String
field name requiring a non-default analyzer
- analyzer
- Type: Lucene.Net.Analysis..::..Analyzer
non-default analyzer to use for field