Interface IntervalMatchesIterator
- All Superinterfaces:
MatchesIterator
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:
-