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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchSortScoredescending(boolean descending)protected Stringidentifier()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
-
-
-
-
Method Detail
-
identifier
protected String identifier()
Description copied from class:SearchSortThe identifier for the sort type, used in the "by" field.- Specified by:
identifierin classSearchSort
-
descending
public SearchSortScore descending(boolean descending)
- Overrides:
descendingin classSearchSort
-
-