Interface IIndexFieldValueType
Defines how a field value is stored in the index and is responsible for generating a query for the field when a managed query is used
public interface IIndexFieldValueType
Properties
Analyzer
Returns the analyzer for this field type, or null to use the default
Analyzer? Analyzer { get; }
Property Value
- Analyzer
FieldName
The field name
string FieldName { get; }
Property Value
SortableFieldName
Returns the sortable field name or null if the value isn't sortable
string? SortableFieldName { get; }
Property Value
Remarks
By default it will not be sortable
Store
Should the value be stored
bool Store { get; }
Property Value
Methods
AddValue(Document, object?)
Adds a value to the document
void AddValue(Document doc, object? value)
Parameters
doc
Documentvalue
object
GetQuery(string)
Gets a query as Lucene.Net.Search.Query
Query? GetQuery(string query)
Parameters
query
string
Returns
- Query