public abstract class BlockJoinSorter extends Sorter
Sorter.DocComparator, Sorter.DocMapINDEX_ORDER_COMPARATOR, REVERSE_DOCS| Constructor and Description |
|---|
BlockJoinSorter(Filter parentsFilter)
Sole constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Sorter.DocMap |
sort(AtomicReader reader)
Returns a mapping from the old document ID to its new location in the
sorted index.
|
public BlockJoinSorter(Filter parentsFilter)
public final Sorter.DocMap sort(AtomicReader reader) throws IOException
SorterSorter.sort(int, DocComparator) to compute the old-to-new permutation
given a list of documents and their corresponding values.
A return value of null is allowed and means that
reader is already sorted.
NOTE: deleted documents are expected to appear in the mapping as well, they will however be marked as deleted in the sorted view.
sort in class SorterIOExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved