Class GenericAnalyzerFieldValueType
A generic value type that will index a value based on the analyzer provider and will store the value with normal term vectors
public class GenericAnalyzerFieldValueType : IndexFieldValueTypeBase, IIndexFieldValueType
- Inheritance
-
GenericAnalyzerFieldValueType
- Implements
- Inherited Members
Constructors
GenericAnalyzerFieldValueType(string, ILoggerFactory, Analyzer, bool)
public GenericAnalyzerFieldValueType(string fieldName, ILoggerFactory logger, Analyzer analyzer, bool sortable = false)
Parameters
fieldName
stringlogger
ILoggerFactoryanalyzer
Analyzersortable
bool
Properties
Analyzer
Returns the analyzer for this field type, or null to use the default
public override Analyzer Analyzer { get; }
Property Value
- Analyzer
SortableFieldName
Can be sorted by a concatenated field name since to be sortable it cannot be analyzed
public override string? SortableFieldName { get; }
Property Value
Methods
AddSingleValue(Document, object)
Adds a single value to the document
protected override void AddSingleValue(Document doc, object value)
Parameters
doc
Documentvalue
object