public class UnsortedTermFreqIteratorWrapper extends BufferingTermFreqIteratorWrapper
TermFreqIterator.TermFreqIteratorWrappercurPos, entries, freqsEMPTY| Constructor and Description |
|---|
UnsortedTermFreqIteratorWrapper(TermFreqIterator source)
Creates a new iterator, wrapping the specified iterator and
returning elements in a random order.
|
| Modifier and Type | Method and Description |
|---|---|
BytesRef |
next() |
long |
weight()
A term's weight, higher numbers mean better suggestions.
|
getComparatorpublic UnsortedTermFreqIteratorWrapper(TermFreqIterator source) throws IOException
IOExceptionpublic long weight()
TermFreqIteratorweight in interface TermFreqIteratorweight in class BufferingTermFreqIteratorWrapperpublic BytesRef next() throws IOException
next in interface BytesRefIteratornext in class BufferingTermFreqIteratorWrapperIOExceptionCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.