FieldTermIterator

Iterates over terms in across multiple fields. The caller must check .field after each .next to see if the field changed, but == can be used since the iterator implementation ensures it will use the same String instance for a given field.

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract fun delGen(): Long

Del gen of the current term.

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

Returns current field. This method should not be called after iteration is done. Note that you may use == to detect a change in field.

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

Increments the iteration to the next BytesRef in the iterator. Returns the resulting BytesRef or null if the end of the iterator is reached. The returned BytesRef may be re-used across calls to next. After this method returns null, do not call it again: the results are undefined.