Table of Contents

Class LuceneIndexOptions

Namespace
Examine.Lucene
Assembly
Examine.Lucene.dll

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

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

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

IReadOnlyDictionary<string, IFieldValueTypeFactory>

UseTaxonomyIndex

Gets or Sets whether to use a Taxonomy Index

public bool UseTaxonomyIndex { get; set; }

Property Value

bool