Class MatchRegionRetriever.MatchesIteratorWithLimit
java.lang.Object
org.apache.lucene.search.FilterMatchesIterator
org.apache.lucene.search.matchhighlight.MatchRegionRetriever.MatchesIteratorWithLimit
- All Implemented Interfaces:
MatchesIterator
- Enclosing class:
MatchRegionRetriever
-
Field Summary
FieldsFields inherited from class org.apache.lucene.search.FilterMatchesIterator
in
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.lucene.search.FilterMatchesIterator
endOffset, endPosition, getQuery, getSubMatches, startOffset, startPosition
-
Field Details
-
limit
private int limit
-
-
Constructor Details
-
MatchesIteratorWithLimit
-
-
Method Details
-
next
Description copied from interface:MatchesIterator
Advance the iterator to the next match position- Specified by:
next
in interfaceMatchesIterator
- Overrides:
next
in classFilterMatchesIterator
- Returns:
true
if matches have not been exhausted- Throws:
IOException
-