Sets the analyzer to use. An analyzer is not required for generating a query with the {@link #Like(int)} method, all other 'like' methods require an analyzer.

Namespace: Similarity.Net
Assembly: Lucene.Net.Contrib.Similarity (in Lucene.Net.Contrib.Similarity.dll) Version: 2.0.0.1

Syntax

C#
public void SetAnalyzer(
	Analyzer analyzer
)
Visual Basic
Public Sub SetAnalyzer ( _
	analyzer As Analyzer _
)
Visual C++
public:
void SetAnalyzer(
	Analyzer^ analyzer
)

Parameters

analyzer
Type: Lucene.Net.Analysis..::..Analyzer
the analyzer to use to tokenize text.

See Also