Class RawStringType
Indexes a raw string value - not analyzed
public class RawStringType : IndexFieldValueTypeBase, IIndexFieldValueType
- Inheritance
-
RawStringType
- Implements
- Inherited Members
Constructors
RawStringType(string, ILoggerFactory, bool)
Constructor
public RawStringType(string fieldName, ILoggerFactory logger, bool store = true)
Parameters
fieldName
stringlogger
ILoggerFactorystore
bool
Properties
Analyzer
Returns the analyzer for this field type, or null to use the default
public override Analyzer Analyzer { get; }
Property Value
- Analyzer
Methods
AddSingleValue(Document, object)
Adds a single value to the document
protected override void AddSingleValue(Document doc, object value)
Parameters
doc
Documentvalue
object