Constructs with default analyzer and a map of analyzers to use for specific fields.

Namespace: Lucene.Net.Analysis
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public PerFieldAnalyzerWrapper(
	Analyzer defaultAnalyzer,
	IDictionary fieldAnalyzers
)
Visual Basic
Public Sub New ( _
	defaultAnalyzer As Analyzer, _
	fieldAnalyzers As IDictionary _
)
Visual C++
public:
PerFieldAnalyzerWrapper(
	Analyzer^ defaultAnalyzer, 
	IDictionary^ fieldAnalyzers
)

Parameters

defaultAnalyzer
Type: Lucene.Net.Analysis..::..Analyzer
Any fields not specifically defined to use a different analyzer will use the one provided here.
fieldAnalyzers
Type: System.Collections..::..IDictionary
a Map (String field name to the Analyzer) to be used for those fields

See Also