| Package | Description |
|---|---|
| org.apache.lucene.search |
Code to search indices.
|
| Modifier and Type | Field and Description |
|---|---|
protected ScoreDocComparator[] |
FieldSortedHitQueue.comparators
Stores a comparator corresponding to each field being sorted by
|
static ScoreDocComparator |
ScoreDocComparator.INDEXORDER
Special comparator for sorting hits according to index order (document number).
|
static ScoreDocComparator |
ScoreDocComparator.RELEVANCE
Special comparator for sorting hits according to computed relevance (document score).
|
| Modifier and Type | Method and Description |
|---|---|
ScoreDocComparator |
SortComparatorSource.newComparator(IndexReader reader,
java.lang.String fieldname)
Creates a comparator for the field in the given index.
|
ScoreDocComparator |
SortComparator.newComparator(IndexReader reader,
java.lang.String fieldname) |
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.