|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SortField | |
---|---|
org.apache.lucene.search | Code to search indices. |
org.apache.lucene.search.grouping | This module enables search result grouping with Lucene, where hits with the same value in the specified single-valued group field are grouped together. |
Uses of SortField in org.apache.lucene.search |
---|
Fields in org.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 (relevance). |
SortField[] |
TopFieldDocs.fields
The fields which were used to sort results by. |
protected SortField[] |
FieldValueHitQueue.fields
Stores the sort criteria being used. |
Methods in org.apache.lucene.search that return SortField | |
---|---|
SortField[] |
Sort.getSort()
Representation of the sort criteria. |
SortField |
SortField.setMissingValue(Object missingValue)
Set a default sorting value for documents which lacks one |
Methods in org.apache.lucene.search with parameters of type SortField | ||
---|---|---|
static
|
FieldValueHitQueue.create(SortField[] fields,
int size)
Creates a hit queue sorted by the given list of fields. |
|
void |
Sort.setSort(SortField... fields)
Sets the sort to the given criteria in succession. |
|
void |
Sort.setSort(SortField field)
Sets the sort to the given criteria. |
Constructors in org.apache.lucene.search with parameters of type SortField | |
---|---|
Sort(SortField... fields)
Sorts in succession by the criteria in each SortField. |
|
Sort(SortField field)
Sorts by the criteria in the given SortField. |
|
TopFieldDocs(int totalHits,
ScoreDoc[] scoreDocs,
SortField[] fields,
float maxScore)
Creates one of these objects. |
Uses of SortField in org.apache.lucene.search.grouping |
---|
Fields in org.apache.lucene.search.grouping declared as SortField | |
---|---|
SortField[] |
TopGroups.groupSort
How groups are sorted against each other |
SortField[] |
TopGroups.withinGroupSort
How docs are sorted within each group |
Constructors in org.apache.lucene.search.grouping with parameters of type SortField | |
---|---|
TopGroups(SortField[] groupSort,
SortField[] withinGroupSort,
int totalHitCount,
int totalGroupedHitCount,
GroupDocs<GROUP_VALUE_TYPE>[] groups)
|
|
TopGroups(SortField[] groupSort,
SortField[] withinGroupSort,
int totalHitCount,
int totalGroupedHitCount,
GroupDocs<GROUP_VALUE_TYPE>[] groups)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |