Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
Modifier and Type | Class and Description |
---|---|
class |
FieldValueHitQueue<T extends FieldValueHitQueue.Entry>
Expert: A hit queue for sorting by hits by terms in more than one field.
|
private static class |
FieldValueHitQueue.MultiComparatorsFieldValueHitQueue<T extends FieldValueHitQueue.Entry>
An implementation of
FieldValueHitQueue which is optimized in case
there is more than one comparator. |
private static class |
FieldValueHitQueue.OneComparatorFieldValueHitQueue<T extends FieldValueHitQueue.Entry>
An implementation of
FieldValueHitQueue which is optimized in case
there is just one comparator. |
Modifier and Type | Field and Description |
---|---|
(package private) FieldValueHitQueue.Entry |
TopFieldCollector.bottom |
Modifier and Type | Field and Description |
---|---|
(package private) FieldValueHitQueue<FieldValueHitQueue.Entry> |
TopFieldCollector.SimpleFieldCollector.queue |
(package private) FieldValueHitQueue<FieldValueHitQueue.Entry> |
TopFieldCollector.PagingFieldCollector.queue |
Modifier and Type | Method and Description |
---|---|
static <T extends FieldValueHitQueue.Entry> |
FieldValueHitQueue.create(SortField[] fields,
int size)
Creates a hit queue sorted by the given list of fields.
|
Modifier and Type | Method and Description |
---|---|
(package private) FieldDoc |
FieldValueHitQueue.fillFields(FieldValueHitQueue.Entry entry)
Given a queue Entry, creates a corresponding FieldDoc
that contains the values used to sort the given document.
|
protected abstract boolean |
FieldValueHitQueue.lessThan(FieldValueHitQueue.Entry a,
FieldValueHitQueue.Entry b) |
protected boolean |
FieldValueHitQueue.OneComparatorFieldValueHitQueue.lessThan(FieldValueHitQueue.Entry hitA,
FieldValueHitQueue.Entry hitB)
Returns whether
hitA is less relevant than hitB . |
protected boolean |
FieldValueHitQueue.MultiComparatorsFieldValueHitQueue.lessThan(FieldValueHitQueue.Entry hitA,
FieldValueHitQueue.Entry hitB) |
Constructor and Description |
---|
PagingFieldCollector(Sort sort,
FieldValueHitQueue<FieldValueHitQueue.Entry> queue,
FieldDoc after,
int numHits,
int totalHitsThreshold) |
SimpleFieldCollector(Sort sort,
FieldValueHitQueue<FieldValueHitQueue.Entry> queue,
int numHits,
int totalHitsThreshold) |
TopFieldCollector(FieldValueHitQueue<FieldValueHitQueue.Entry> pq,
int numHits,
int totalHitsThreshold,
boolean needsScores) |