|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use SortField | |
|---|---|
| gate.creole.annic.apache.lucene.search | Search over indices. |
| Uses of SortField in gate.creole.annic.apache.lucene.search |
|---|
| Fields in gate.creole.annic.apache.lucene.search declared as SortField | |
|---|---|
static SortField |
SortField.FIELD_DOC
Represents sorting by document number (index order). |
static SortField |
SortField.FIELD_SCORE
Represents sorting by document score (relevancy). |
(package private) SortField[] |
FieldDocSortedHitQueue.fields
|
protected SortField[] |
FieldSortedHitQueue.fields
Stores the sort criteria being used. |
(package private) SortField[] |
Sort.fields
|
SortField[] |
TopFieldDocs.fields
The fields which were used to sort results by. |
| Methods in gate.creole.annic.apache.lucene.search that return SortField | |
|---|---|
(package private) SortField[] |
FieldDocSortedHitQueue.getFields()
Returns the fields being used to sort. |
(package private) SortField[] |
FieldSortedHitQueue.getFields()
Returns the SortFields being used by this hit queue. |
| Methods in gate.creole.annic.apache.lucene.search with parameters of type SortField | |
|---|---|
private Collator[] |
FieldDocSortedHitQueue.hasCollators(SortField[] fields)
Returns an array of collators, possibly null. |
(package private) void |
FieldDocSortedHitQueue.setFields(SortField[] fields)
Allows redefinition of sort fields if they are null. |
void |
Sort.setSort(SortField field)
Sets the sort to the given criteria. |
void |
Sort.setSort(SortField[] fields)
Sets the sort to the given criteria in succession. |
| Constructors in gate.creole.annic.apache.lucene.search with parameters of type SortField | |
|---|---|
FieldDocSortedHitQueue(SortField[] fields,
int size)
Creates a hit queue sorted by the given list of fields. |
|
FieldSortedHitQueue(IndexReader reader,
SortField[] fields,
int size)
Creates a hit queue sorted by the given list of fields. |
|
Sort(SortField field)
Sorts by the criteria in the given SortField. |
|
Sort(SortField[] fields)
Sorts in succession by the criteria in each SortField. |
|
TopFieldDocs(int totalHits,
ScoreDoc[] scoreDocs,
SortField[] fields)
Creates one of these objects. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||