Class AnalyzingInfixSuggesterIndexWriterConfigFactory
Default Lucene.Net.Index.IndexWriterConfig factory for AnalyzingInfixSuggester.
Inherited Members
Namespace: Lucene.Net.Search.Suggest.Analyzing
Assembly: Lucene.Net.Suggest.dll
Syntax
public class AnalyzingInfixSuggesterIndexWriterConfigFactory : IAnalyzingInfixSuggesterIndexWriterConfigFactory
Constructors
AnalyzingInfixSuggesterIndexWriterConfigFactory(Sort)
Creates a new config factory that uses the given Lucene.Net.Search.Sort in the sorting merge policy
Declaration
public AnalyzingInfixSuggesterIndexWriterConfigFactory(Sort sort)
Parameters
Type | Name | Description |
---|---|---|
Sort | sort |
Methods
Get(LuceneVersion, Analyzer, OpenMode)
Override this to customize index settings, e.g. which codec to use.
Declaration
public virtual IndexWriterConfig Get(LuceneVersion matchVersion, Analyzer indexAnalyzer, OpenMode openMode)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | matchVersion | |
Analyzer | indexAnalyzer | |
OpenMode | openMode |
Returns
Type | Description |
---|---|
IndexWriterConfig |