Class SearchSortScore
java.lang.Object
com.couchbase.client.java.search.sort.SearchSort
com.couchbase.client.java.search.sort.SearchSortScore
public class SearchSortScore extends SearchSort
Sort by the hit score.
- Since:
- 2.4.5
- Author:
- Michael Nitschinger
-
Constructor Summary
Constructors Constructor Description SearchSortScore()
-
Method Summary
Modifier and Type Method Description SearchSortScore
descending(boolean descending)
protected String
identifier()
The identifier for the sort type, used in the "by" field.Methods inherited from class com.couchbase.client.java.search.sort.SearchSort
injectParams, sortField, sortGeoDistance, sortId, sortScore
-
Constructor Details
-
SearchSortScore
public SearchSortScore()
-
-
Method Details
-
identifier
Description copied from class:SearchSort
The identifier for the sort type, used in the "by" field.- Specified by:
identifier
in classSearchSort
-
descending
- Overrides:
descending
in classSearchSort
-