Constructor BlendedInfixSuggester
BlendedInfixSuggester(LuceneVersion, Store.Directory, Analyzer)
Create a new instance, loading from a previously built directory, if it exists.
Declaration
public BlendedInfixSuggester(LuceneVersion matchVersion, Store.Directory dir, Analyzer analyzer)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | matchVersion | |
Directory | dir | |
Analyzer | analyzer |
BlendedInfixSuggester(LuceneVersion, Store.Directory, Analyzer, Analyzer, Int32, BlendedInfixSuggester.BlenderType, Int32)
Create a new instance, loading from a previously built directory, if it exists.
Declaration
public BlendedInfixSuggester(LuceneVersion matchVersion, Store.Directory dir, Analyzer indexAnalyzer, Analyzer queryAnalyzer, int minPrefixChars, BlendedInfixSuggester.BlenderType blenderType, int numFactor)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | matchVersion | |
Directory | dir | |
Analyzer | indexAnalyzer | |
Analyzer | queryAnalyzer | |
System.Int32 | minPrefixChars | |
BlendedInfixSuggester.BlenderType | blenderType | Type of blending strategy, see BlenderType for more precisions |
System.Int32 | numFactor | Factor to multiply the number of searched elements before ponderate |