Class CultureInvariantStandardAnalyzer
The same as the Lucene.Net.Analysis.Standard.StandardAnalyzer but with an additional Lucene.Net.Analysis.Miscellaneous.ASCIIFoldingFilter
public sealed class CultureInvariantStandardAnalyzer : Analyzer, IDisposable
- Inheritance
-
AnalyzerCultureInvariantStandardAnalyzer
- Implements
- Inherited Members
-
Analyzer.GLOBAL_REUSE_STRATEGYAnalyzer.PER_FIELD_REUSE_STRATEGYAnalyzer.Dispose()Analyzer.Strategy
Constructors
CultureInvariantStandardAnalyzer()
Creates an instance of CultureInvariantStandardAnalyzer
public CultureInvariantStandardAnalyzer()
CultureInvariantStandardAnalyzer(CharArraySet)
Creates an instance of CultureInvariantStandardAnalyzer
public CultureInvariantStandardAnalyzer(CharArraySet stopWords)
Parameters
stopWords
CharArraySetThe stop words
CultureInvariantStandardAnalyzer(CharArraySet, bool, bool)
Creates an instance of CultureInvariantStandardAnalyzer
public CultureInvariantStandardAnalyzer(CharArraySet stopWords, bool caseInsensitive, bool ignoreLanguageAccents)
Parameters
stopWords
CharArraySetThe stop words
caseInsensitive
boolWhether or not the analyzer is case sensitive
ignoreLanguageAccents
boolWhether or not to store language accents
Properties
MaxTokenLength
Set the max allowed token length. Any token longer than this is skipped
public int MaxTokenLength { get; set; }
Property Value
Methods
CreateComponents(string, TextReader)
Creates the analyzer components
protected override TokenStreamComponents CreateComponents(string fieldName, TextReader reader)
Parameters
fieldName
stringThe field name
reader
TextReaderThe TextReader
Returns
- TokenStreamComponents
The Lucene.Net.Analysis.TokenStreamComponents