Constructor PerFieldAnalyzerWrapper
PerFieldAnalyzerWrapper(Analyzer)
Constructs with default analyzer.
Declaration
public PerFieldAnalyzerWrapper(Analyzer defaultAnalyzer)
Parameters
Type | Name | Description |
---|---|---|
Analyzer | defaultAnalyzer | Any fields not specifically defined to use a different analyzer will use the one provided here. |
PerFieldAnalyzerWrapper(Analyzer, IDictionary<String, Analyzer>)
Constructs with default analyzer and a map of analyzers to use for specific fields.
Declaration
public PerFieldAnalyzerWrapper(Analyzer defaultAnalyzer, IDictionary<string, Analyzer> fieldAnalyzers)
Parameters
Type | Name | Description |
---|---|---|
Analyzer | defaultAnalyzer | Any fields not specifically defined to use a different analyzer will use the one provided here. |
System.Collections.Generic.IDictionary<System.String, Analyzer> | fieldAnalyzers | a System.Collections.Generic.IDictionary<TKey, TValue> (String field name to the Analyzer) to be used for those fields |