Class LuceneIndexOptions
Represents options for a lucene index
public class LuceneIndexOptions : IndexOptions
- Inheritance
-
LuceneIndexOptions
- Derived
- Inherited Members
Properties
Analyzer
The analyzer used in the index
public Analyzer? Analyzer { get; set; }
Property Value
- Analyzer
DefaultSimilarityName
Index Searcher Default Similarity Name
public string? DefaultSimilarityName { get; set; }
Property Value
FacetsConfig
Records per-dimension configuration. By default a dimension is flat, single valued and does not require count for the dimension; use the setters in this class to change these settings for each dim.
public FacetsConfig FacetsConfig { get; set; }
Property Value
- FacetsConfig
IndexDeletionPolicy
THe index deletion policy
public IndexDeletionPolicy? IndexDeletionPolicy { get; set; }
Property Value
- IndexDeletionPolicy
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
Specifies the index value types to use for this indexer, if this is not specified then the result of GetDefaultValueTypes(ILoggerFactory, Analyzer) will be used. This is generally used to initialize any custom value types for your indexer since the value type collection cannot be modified at runtime.
public IReadOnlyDictionary<string, IFieldValueTypeFactory>? IndexValueTypesFactory { get; set; }
Property Value
UseTaxonomyIndex
Gets or Sets whether to use a Taxonomy Index
public bool UseTaxonomyIndex { get; set; }