FieldsProducer

Abstract API that produces terms, doc, freq, prox, offset and payloads postings.

Inheritors

Properties

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun checkIntegrity()

Checks consistency of this reader.

Link copied to clipboard
abstract override fun close()
Link copied to clipboard
abstract operator override fun iterator(): MutableIterator<String>

Returns an iterator that will step through all fields names. This will not return null.

Link copied to clipboard
abstract fun size(): Int

Returns the number of fields or -1 if the number of distinct field names is unknown. If >= 0, .iterator will return as many field names.

Link copied to clipboard
abstract fun terms(field: String?): Terms?

Get the Terms for this field. This will return null if the field does not exist.