public class UnsortedTermFreqIteratorWrapper extends BufferingTermFreqIteratorWrapper
TermFreqIterator.TermFreqIteratorWrapper
curPos, entries, freqs
EMPTY
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.
|
getComparator
public UnsortedTermFreqIteratorWrapper(TermFreqIterator source) throws IOException
IOException
public long weight()
TermFreqIterator
weight
in interface TermFreqIterator
weight
in class BufferingTermFreqIteratorWrapper
public BytesRef next() throws IOException
next
in interface BytesRefIterator
next
in class BufferingTermFreqIteratorWrapper
IOException
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.