Uses of Class
com.yahoo.search.query.Sorting
Package
Description
The search query model
The content of a Result produced in response to a Query.
YQL+ integration.
-
Uses of Sorting in com.yahoo.prelude.fastsearch
Modifier and TypeMethodDescriptionstatic Comparator<Hit>
SortDataHitSorter.getComparator
(Sorting sorting, Comparator<Hit> fallback) static boolean
SortDataHitSorter.isSortable
(Hit hit, Sorting sorting) void
FastHit.setSortData
(byte[] data, Sorting sorting) -
Uses of Sorting in com.yahoo.search.pagetemplates.model
Modifier and TypeMethodDescriptionSection.getOrder()
Returns the choice of ways to sort immediate children in this, or empty meaning sort by default order (relevance) -
Uses of Sorting in com.yahoo.search.query
Modifier and TypeMethodDescriptionSorting.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)Ranking.getSorting()
Returns the sorting spec of this query, or null if none is setModifier and TypeMethodDescriptionvoid
Ranking.setSorting
(Sorting sorting) Sets how this query should be sorted. -
Uses of Sorting in com.yahoo.search.result
Modifier and TypeMethodDescriptionstatic FieldComparator
Creates a comparator given a sorting, or returns null if the given sorting is nullModifierConstructorDescriptionFieldComparator
(Sorting sorting) Creates a field comparator using a sort order and having no chained comparatorFieldComparator
(Sorting sorting, Comparator<Hit> secondaryComparator) Creates a field comparator using a sort order with a chained comparatorHitSortOrderer
(Sorting sorting) Create a sort order from a sorting -
Uses of Sorting in com.yahoo.search.yql
Modifier and TypeMethodDescriptionYqlParser.getSorting()
The sorting specified in the YQL+ query last parsed.