Package | Description |
---|---|
org.apache.lucene.index.sorter |
Provides index sorting capablities.
|
Modifier and Type | Method and Description |
---|---|
abstract Sorter.DocMap |
Sorter.sort(AtomicReader reader)
Returns a mapping from the old document ID to its new location in the
sorted index.
|
Sorter.DocMap |
NumericDocValuesSorter.sort(AtomicReader reader) |
protected static Sorter.DocMap |
Sorter.sort(int maxDoc,
Sorter.DocComparator comparator)
Computes the old-to-new permutation over the given comparator.
|
Modifier and Type | Method and Description |
---|---|
static AtomicReader |
SortingAtomicReader.wrap(AtomicReader reader,
Sorter.DocMap docMap)
Expert: same as
SortingAtomicReader.wrap(AtomicReader, Sorter) but operates directly on a Sorter.DocMap . |
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.