Class ExamineLuceneIndexConfiguration<TIndex, TDirectoryFactory>
- Namespace
- Examine
- Assembly
- Examine.dll
Examine Lucene Index Configuration
public class ExamineLuceneIndexConfiguration<TIndex, TDirectoryFactory> where TIndex : LuceneIndex where TDirectoryFactory : class, IDirectoryFactory
Type Parameters
TIndex
TDirectoryFactory
- Inheritance
-
ExamineLuceneIndexConfiguration<TIndex, TDirectoryFactory>
- Inherited Members
Constructors
ExamineLuceneIndexConfiguration(string)
Constructor
public ExamineLuceneIndexConfiguration(string name)
Parameters
name
stringIndex Name
Properties
Analyzer
Index Default Analyzer
public Analyzer? Analyzer { get; set; }
Property Value
- Analyzer
DefaultSimilarityName
Index Searcher Default Similarity Name
public string? DefaultSimilarityName { get; set; }
Property Value
FacetsConfig
Index Facet Config
public FacetsConfig? FacetsConfig { get; set; }
Property Value
- FacetsConfig
FieldDefinitions
Index Field Definitions
public FieldDefinitionCollection? FieldDefinitions { get; set; }
Property Value
IndexSimilaritiesFactory
Specifies the index Similarity types to use for this index, if this is not specified then the result of GetDefaultSimilarities() will be used. This is generally used to initialize any custom similarity types for your searcher since the Similarity collection cannot be modified at runtime.
public IReadOnlyDictionary<string, ISimilarityTypeFactory>? IndexSimilaritiesFactory { get; set; }
Property Value
IndexValueTypesFactory
Index Value Type Factory
public IReadOnlyDictionary<string, IFieldValueTypeFactory>? IndexValueTypesFactory { get; set; }
Property Value
Name
Index Name
public string Name { get; }
Property Value
SimilarityDefinitions
The similarties for the IIndex
public SimilarityDefinitionCollection? SimilarityDefinitions { get; set; }
Property Value
UseTaxonomyIndex
Whether to use Taxonomy Index
public bool UseTaxonomyIndex { get; set; }
Property Value
Validator
Index Value Set Validator
public IValueSetValidator? Validator { get; set; }