Table of Contents

Interface IIndexFieldValueType

Namespace
Examine.Lucene.Indexing
Assembly
Examine.Lucene.dll

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

string

SortableFieldName

Returns the sortable field name or null if the value isn't sortable

string? SortableFieldName { get; }

Property Value

string

Remarks

By default it will not be sortable

Store

Should the value be stored

bool Store { get; }

Property Value

bool

Methods

AddValue(Document, object?)

Adds a value to the document

void AddValue(Document doc, object? value)

Parameters

doc Document
value object

GetQuery(string)

Gets a query as Lucene.Net.Search.Query

Query? GetQuery(string query)

Parameters

query string

Returns

Query