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
stopWordsCharArraySetThe stop words
CultureInvariantStandardAnalyzer(CharArraySet, bool, bool)
Creates an instance of CultureInvariantStandardAnalyzer
public CultureInvariantStandardAnalyzer(CharArraySet stopWords, bool caseInsensitive, bool ignoreLanguageAccents)
Parameters
stopWordsCharArraySetThe stop words
caseInsensitiveboolWhether or not the analyzer is case sensitive
ignoreLanguageAccentsboolWhether 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
fieldNamestringThe field name
readerTextReaderThe TextReader
Returns
- TokenStreamComponents
The Lucene.Net.Analysis.TokenStreamComponents