
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
- Inheritance
-
StoredField
- Implements
StoredField(string, double)
Initialises a new StoredField with the specified name and floating-point value.
StoredField(string, int)
Initialises a new StoredField with the specified name and integer value.
StoredField(string, long)
Initialises a new StoredField with the specified name and long integer value.
StoredField(string, string)
Initialises a new StoredField with the specified name and string value.
Boost
Index-time boost applied to queries that score this field.
FieldType
The kind of data this field holds.
IndexOptions
Controls which postings data (doc IDs, frequencies, positions, offsets) is written to the inverted index. Lower levels reduce disk usage and indexing time but disable phrase queries and scoring features. Default: DocsAndFreqsAndPositions for TextField; DocsAndFreqs for StringField; DocsOnly for NumericField.
IsIndexed
Whether the field is included in the inverted index.
IsStored
Whether the raw value is persisted in stored fields.
Name
Field name used for indexing and retrieval.
StoreDocValues
Whether to populate DocValues (sorted, sorted-set, numeric, binary) for this field.
When false, no DocValues sidecar files are produced for the field.
Default: true for StringField and NumericField;
false for TextField, StoredField, and BinaryField.
Value
Gets the string value persisted in stored fields.