Table of Contents

Public classSealed StoredField

Namespace
Rowles.LeanCorpus.Document.Fields
Assembly
Rowles.LeanCorpus.dll

Stored-only field whose value can be retrieved from stored fields but is not indexed.

public sealed class StoredField : IField
StoredField
Implements

Public constructor StoredField(string, double)

Initialises a new StoredField with the specified name and floating-point value.

Public constructor StoredField(string, int)

Initialises a new StoredField with the specified name and integer value.

Public constructor StoredField(string, long)

Initialises a new StoredField with the specified name and long integer value.

Public constructor StoredField(string, string)

Initialises a new StoredField with the specified name and string value.

Public property FieldType

The kind of data this field holds.

Public property IsIndexed

Whether the field is included in the inverted index.

Public property IsStored

Whether the raw value is persisted in stored fields.

Public property Name

Field name used for indexing and retrieval.

Public property Value

Gets the string value persisted in stored fields.