public static class OffsetsEnum.OfMatchesIteratorWithSubs extends OffsetsEnum
MatchesIterator with submatches.OffsetsEnum.MultiOffsetsEnum, OffsetsEnum.OfMatchesIterator, OffsetsEnum.OfMatchesIteratorWithSubs, OffsetsEnum.OfPostingsEMPTY| Constructor and Description |
|---|
OfMatchesIteratorWithSubs(MatchesIterator matchesIterator) |
| Modifier and Type | Method and Description |
|---|---|
int |
endOffset() |
int |
freq()
An estimate of the number of occurrences of this term/OffsetsEnum.
|
BytesRef |
getTerm()
The term at this position.
|
boolean |
nextPosition()
Advances to the next position and returns true, or if can't then returns false.
|
int |
startOffset() |
close, compareTo, toStringpublic OfMatchesIteratorWithSubs(MatchesIterator matchesIterator)
public boolean nextPosition()
throws IOException
OffsetsEnumnextPosition in class OffsetsEnumIOExceptionpublic int freq()
throws IOException
OffsetsEnumfreq in class OffsetsEnumIOExceptionpublic BytesRef getTerm() throws IOException
OffsetsEnumgetTerm in class OffsetsEnumIOExceptionPassage.getMatchTerms()public int startOffset()
throws IOException
startOffset in class OffsetsEnumIOExceptionpublic int endOffset()
throws IOException
endOffset in class OffsetsEnumIOExceptionCopyright © 2000-2024 Apache Software Foundation. All Rights Reserved.