Package | Description |
---|---|
gate.creole.annic.apache.lucene.search |
Modifier and Type | Field and Description |
---|---|
static SortField |
SortField.FIELD_DOC
Represents sorting by document number (index order).
|
static SortField |
SortField.FIELD_SCORE
Represents sorting by document score (relevancy).
|
SortField[] |
TopFieldDocs.fields
The fields which were used to sort results by.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
Sort(SortField field)
Sorts by the criteria in the given SortField.
|
Sort(SortField[] fields)
Sorts in succession by the criteria in each SortField.
|
Copyright © 2023 GATE. All rights reserved.