public class UnsortedTermFreqIteratorWrapper extends BufferingTermFreqIteratorWrapper
TermFreqIterator.TermFreqIteratorWrappercurPos, entries, freqsEMPTY| Constructor and Description |
|---|
UnsortedTermFreqIteratorWrapper(TermFreqIterator source) |
| Modifier and Type | Method and Description |
|---|---|
BytesRef |
next()
Increments the iteration to the next
BytesRef in the iterator. |
long |
weight() |
getComparatorpublic UnsortedTermFreqIteratorWrapper(TermFreqIterator source) throws IOException
IOExceptionpublic long weight()
weight in interface TermFreqIteratorweight in class BufferingTermFreqIteratorWrapperpublic BytesRef next() throws IOException
BytesRefIteratorBytesRef in the iterator.
Returns the resulting BytesRef or null if the end of
the iterator is reached. The returned BytesRef may be re-used across calls
to next. After this method returns null, do not call it again: the results
are undefined.next in interface BytesRefIteratornext in class BufferingTermFreqIteratorWrapperBytesRef in the iterator or null if
the end of the iterator is reached.IOException