Uses of Class
com.yahoo.search.query.Sorting
Packages that use 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
Methods in com.yahoo.prelude.fastsearch with parameters of type SortingModifier 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
Methods in com.yahoo.search.pagetemplates.model that return SortingModifier and TypeMethodDescriptionSection.getOrder()
Returns the choice of ways to sort immediate children in this, or empty meaning sort by default order (relevance)Methods in com.yahoo.search.pagetemplates.model with parameters of type Sorting -
Uses of Sorting in com.yahoo.search.query
Methods in com.yahoo.search.query that return SortingModifier 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 setMethods in com.yahoo.search.query with parameters of type SortingModifier and TypeMethodDescriptionvoid
Ranking.setSorting
(Sorting sorting) Sets how this query should be sorted. -
Uses of Sorting in com.yahoo.search.result
Methods in com.yahoo.search.result with parameters of type SortingModifier and TypeMethodDescriptionstatic FieldComparator
Creates a comparator given a sorting, or returns null if the given sorting is nullConstructors in com.yahoo.search.result with parameters of type SortingModifierConstructorDescriptionFieldComparator
(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
Methods in com.yahoo.search.yql that return SortingModifier and TypeMethodDescriptionYqlParser.getSorting()
The sorting specified in the YQL+ query last parsed.