intervals

abstract fun intervals(field: String, ctx: LeafReaderContext): IntervalIterator?

Create an IntervalIterator exposing the minimum intervals defined by this IntervalsSource

Returns `null` if no intervals for this field exist in this segment

Parameters

field

the field to read positions from

ctx

the context for which to return the iterator