ReservedField

class ReservedField<T : IndexableField>(val delegate: T) : IndexableField

Constructors

Link copied to clipboard
constructor(delegate: T)

Properties

Link copied to clipboard
open override val charSequenceValue: CharSequence
Link copied to clipboard
val delegate: T

Functions

Link copied to clipboard
open override fun binaryValue(): BytesRef

Non-null if this field has a binary value

Link copied to clipboard
open override fun fieldType(): IndexableFieldType

IndexableFieldType describing the properties of this field.

Link copied to clipboard
open override fun invertableType(): InvertableType

Describes how this field should be inverted. This must return a non-null value if the field indexes terms and postings.

Link copied to clipboard
open override fun name(): String

Field name

Link copied to clipboard
open override fun numericValue(): Number

Non-null if this field has a numeric value

Link copied to clipboard
open override fun readerValue(): Reader

Non-null if this field has a Reader value

Link copied to clipboard
open override fun storedValue(): StoredValue

Stored value. This method is called to populate stored fields and must return a non-null value if the field stored.

Link copied to clipboard
open override fun stringValue(): String

Non-null if this field has a string value

Link copied to clipboard
open override fun tokenStream(analyzer: Analyzer, reuse: TokenStream?): TokenStream

Creates the TokenStream used for indexing this field. If appropriate, implementations should use the given Analyzer to create the TokenStreams.