| Package | Description |
|---|---|
| org.apache.lucene.index.sorter |
Provides index sorting capablities.
|
| Modifier and Type | Class and Description |
|---|---|
class |
NumericDocValuesSorter
A
Sorter which sorts documents according to their
NumericDocValues. |
| Modifier and Type | Field and Description |
|---|---|
static Sorter |
Sorter.REVERSE_DOCS
Sorts documents in reverse order.
|
protected Sorter |
EarlyTerminatingSortingCollector.sorter |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
SortingMergePolicy.isSorted(AtomicReader reader,
Sorter sorter)
Returns true if the given reader is sorted by the given sorter.
|
static AtomicReader |
SortingAtomicReader.wrap(AtomicReader reader,
Sorter sorter)
Return a sorted view of
reader according to the order
defined by sorter. |
| Constructor and Description |
|---|
EarlyTerminatingSortingCollector(Collector in,
Sorter sorter,
int numDocsToCollect)
Create a new
EarlyTerminatingSortingCollector instance. |
SortingMergePolicy(MergePolicy in,
Sorter sorter)
Create a new
MergePolicy that sorts documents with sorter. |
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.