Package | Description |
---|---|
com.yahoo.search.pagetemplates.model | |
com.yahoo.search.query |
The search query model
|
com.yahoo.search.result |
The content of a Result produced in response to a Query.
|
com.yahoo.search.yql |
YQL+ integration.
|
Modifier and Type | Method and Description |
---|---|
Sorting |
Section.getOrder()
Returns the choice of ways to sort immediate children in this, or empty meaning sort by default order (relevance)
|
Modifier and Type | Method and Description |
---|---|
void |
Section.setOrder(Sorting order) |
Modifier and Type | Method and Description |
---|---|
Sorting |
Sorting.clone() |
static Sorting |
Sorting.fromString(String sortSpec)
Creates a new sorting from the given string and returns it, or returns null if the argument does not contain
any sorting criteria (e.g it is null or the empty string)
|
Sorting |
Ranking.getSorting()
Returns the sorting spec of this query, or null if none is set
|
Modifier and Type | Method and Description |
---|---|
void |
Ranking.setSorting(Sorting sorting)
Sets how this query should be sorted.
|
Modifier and Type | Method and Description |
---|---|
static FieldComparator |
FieldComparator.create(Sorting sorting)
Creates a comparator given a sorting, or returns null if the given sorting is null
|
Constructor and Description |
---|
FieldComparator(Sorting sorting)
Creates a field comparator using a sort order and having no chained comparator
|
FieldComparator(Sorting sorting,
Comparator<Hit> secondaryComparator)
Creates a field comparator using a sort order with a chained comparator
|
HitSortOrderer(Sorting sorting)
Create a sort order from a sorting
|
Modifier and Type | Method and Description |
---|---|
Sorting |
YqlParser.getSorting()
The sorting specified in the YQL+ query last parsed.
|
Copyright © 2018. All rights reserved.