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: Lucene.Net.Search.SimilarAssembly: Lucene.Net.Contrib.Queries (in Lucene.Net.Contrib.Queries.dll) Version: 2.9.2.0 (2.9.2)
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.