Table of Contents

Class CultureInvariantStandardAnalyzer

Namespace
Examine.Lucene.Analyzers
Assembly
Examine.Lucene.dll

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
Analyzer
CultureInvariantStandardAnalyzer
Implements
Inherited Members
Analyzer.GLOBAL_REUSE_STRATEGY
Analyzer.PER_FIELD_REUSE_STRATEGY
Analyzer.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 CharArraySet

The stop words

CultureInvariantStandardAnalyzer(CharArraySet, bool, bool)

Creates an instance of CultureInvariantStandardAnalyzer

public CultureInvariantStandardAnalyzer(CharArraySet stopWords, bool caseInsensitive, bool ignoreLanguageAccents)

Parameters

stopWords CharArraySet

The stop words

caseInsensitive bool

Whether or not the analyzer is case sensitive

ignoreLanguageAccents bool

Whether 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

int

Methods

CreateComponents(string, TextReader)

Creates the analyzer components

protected override TokenStreamComponents CreateComponents(string fieldName, TextReader reader)

Parameters

fieldName string

The field name

reader TextReader

The TextReader

Returns

TokenStreamComponents

The Lucene.Net.Analysis.TokenStreamComponents