Constructor Analyzer
Analyzer()
Create a new Analyzer, reusing the same set of components per-thread across calls to GetTokenStream(String, TextReader).
Declaration
public Analyzer()
Analyzer(ReuseStrategy)
Expert: create a new Analyzer with a custom ReuseStrategy.
NOTE: if you just want to reuse on a per-field basis, its easier to
use a subclass of AnalyzerWrapper such as
Lucene.Net.Analysis.Common.Miscellaneous.PerFieldAnalyzerWrapper
instead.
Declaration
public Analyzer(ReuseStrategy reuseStrategy)
Parameters
Type | Name | Description |
---|---|---|
ReuseStrategy | reuseStrategy |