Constructor AnalyzingInfixSuggester
AnalyzingInfixSuggester(LuceneVersion, Store.Directory, Analyzer)
Create a new instance, loading from a previously built AnalyzingInfixSuggester directory, if it exists. This directory must be private to the infix suggester (i.e., not an external Lucene index). Note that Dispose() will also dispose the provided directory.
Declaration
public AnalyzingInfixSuggester(LuceneVersion matchVersion, Store.Directory dir, Analyzer analyzer)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | matchVersion | |
Directory | dir | |
Analyzer | analyzer |
AnalyzingInfixSuggester(LuceneVersion, Store.Directory, Analyzer, Analyzer, Int32)
Create a new instance, loading from a previously built AnalyzingInfixSuggester directory, if it exists. This directory must be private to the infix suggester (i.e., not an external Lucene index). Note that Dispose() will also dispose the provided directory.
Declaration
public AnalyzingInfixSuggester(LuceneVersion matchVersion, Store.Directory dir, Analyzer indexAnalyzer, Analyzer queryAnalyzer, int minPrefixChars)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | matchVersion | |
Directory | dir | |
Analyzer | indexAnalyzer | |
Analyzer | queryAnalyzer | |
System.Int32 | minPrefixChars | Minimum number of leading characters
before |