FilteredIntervalsSource

An IntervalsSource that filters the intervals from another IntervalsSource

Create a new FilteredIntervalsSource

Parameters

name

the name of the filter

`in`

the source to filter

Constructors

Link copied to clipboard
constructor(name: String, in: IntervalsSource)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun intervals(field: String, ctx: LeafReaderContext): IntervalIterator?

Create an IntervalIterator exposing the minimum intervals defined by this IntervalsSource

Link copied to clipboard
open override fun matches(field: String, ctx: LeafReaderContext, doc: Int): IntervalMatchesIterator?

Return a IntervalMatchesIterator over the intervals defined by this IntervalsSource for a given document and field

Link copied to clipboard
open override fun minExtent(): Int

Return the minimum possible width of an interval returned by this source

Link copied to clipboard

Expert: return the set of disjunctions that make up this IntervalsSource

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open override fun visit(field: String, visitor: QueryVisitor)

Expert: visit the tree of sources