FieldIndexEnum

abstract class FieldIndexEnum

Similar to TermsEnum, except, the only "metadata" it reports for a given indexed term is the long fileOffset into the main terms dictionary file.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract fun next(): Long

Returns -1 at end

Link copied to clipboard
abstract fun ord(): Long

Only implemented if TermsIndexReaderBase.supportsOrd returns true.

Link copied to clipboard
abstract fun seek(ord: Long): Long

Only implemented if TermsIndexReaderBase.supportsOrd returns true.

abstract fun seek(term: BytesRef): Long

Seeks to "largest" indexed term that's <= term; returns file pointer index (into the main terms index file) for that term

Link copied to clipboard
abstract fun term(): BytesRef?