Constructor SortedTermFreqIteratorWrapper
SortedTermFreqIteratorWrapper(ITermFreqIterator)
Creates a new sorted wrapper, using
Declaration
public SortedTermFreqIteratorWrapper(ITermFreqIterator source)
Parameters
Type | Name | Description |
---|---|---|
ITermFreqIterator | source |
SortedTermFreqIteratorWrapper(ITermFreqIterator, IComparer<BytesRef>)
Creates a new sorted wrapper, sorting by BytesRef (ascending) then cost (ascending).
Declaration
public SortedTermFreqIteratorWrapper(ITermFreqIterator source, IComparer<BytesRef> comparer)
Parameters
Type | Name | Description |
---|---|---|
ITermFreqIterator | source | |
IComparer<BytesRef> | comparer |