Table of Contents

Class CultureInvariantWhitespaceAnalyzer

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

A whitespace analyzer that can be configured to be culture invariant

public sealed class CultureInvariantWhitespaceAnalyzer : Analyzer, IDisposable
Inheritance
Analyzer
CultureInvariantWhitespaceAnalyzer
Implements
Inherited Members
Analyzer.GLOBAL_REUSE_STRATEGY
Analyzer.PER_FIELD_REUSE_STRATEGY
Analyzer.Dispose()
Analyzer.Strategy

Remarks

Includes a LetterOrDigitTokenizer which only includes letters or digits along with Lucene.Net.Analysis.Miscellaneous.ASCIIFoldingFilter and Lucene.Net.Analysis.Core.LowerCaseFilter

Constructors

CultureInvariantWhitespaceAnalyzer()

Creates an instance of CultureInvariantWhitespaceAnalyzer

public CultureInvariantWhitespaceAnalyzer()

CultureInvariantWhitespaceAnalyzer(bool, bool)

Creates an instance of CultureInvariantWhitespaceAnalyzer

public CultureInvariantWhitespaceAnalyzer(bool caseInsensitive, bool ignoreLanguageAccents)

Parameters

caseInsensitive bool

Whether or not the analyzer is case sensitive

ignoreLanguageAccents bool

Whether or not to ignore language accents

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