Method SetParams
SetParams(String)
Set the params (analyzerName only), Comma-separate list of Analyzer class names. If the Analyzer lives in Lucene.Net.Analysis, the name can be shortened by dropping the Lucene.Net.Analysis part of the Fully Qualified Class Name.
Analyzer names may also refer to previously defined AnalyzerFactory's.
Example Declaration:
{"NewAnalyzer" NewAnalyzer(WhitespaceAnalyzer, SimpleAnalyzer, StopAnalyzer, Standard.StandardAnalyzer) >
Example AnalyzerFactory usage:
-AnalyzerFactory(name:'whitespace tokenized',WhitespaceTokenizer)
-NewAnalyzer('whitespace tokenized')
Declaration
public override void SetParams(string params)
Parameters
Type | Name | Description |
---|---|---|
System.String | params | analyzerClassName, or empty for the StandardAnalyzer |