Interface IntervalMatchesIterator
- All Superinterfaces:
MatchesIterator
- All Known Implementing Classes:
CachingMatchesIterator,ConjunctionIntervalsSource.ConjunctionMatchesIterator,DisjunctionIntervalsSource.DisjunctionMatchesIterator,MinimizingConjunctionMatchesIterator,MinimumShouldMatchIntervalsSource.MinimumMatchesIterator,RepeatingIntervalsSource.DuplicateMatchesIterator
An extension of MatchesIterator that allows it to be treated as
an IntervalIterator
This is necessary to get access to
IntervalIterator.gaps()
and IntervalIterator.width() when constructing matches-
Method Summary
Methods inherited from interface org.apache.lucene.search.MatchesIterator
endOffset, endPosition, getQuery, getSubMatches, next, startOffset, startPosition
-
Method Details
-
gaps
int gaps()The number of top-level gaps inside the current match- See Also:
-
width
int width()The width of the current match- See Also:
-