Sorts by the hit score.
More...
#include <couchbase/search_sort_score.hxx>
◆ search_sort_score() [1/2]
◆ search_sort_score() [2/2]
◆ descending()
Set the sorting direction.
- Parameters
-
desc | true for descending order, false for ascending |
- Returns
- pointer to this
- Since
- 1.0.0
- Committed
- Generally available API and should be preferred in production
◆ encode()
auto encode |
( |
| ) |
const -> encoded_search_sort |
|
nodiscardoverridevirtual |
- Returns
- encoded representation of the search facet.
- Since
- 1.0.0
- Internal
- Internal interface
Implements search_sort.
The documentation for this class was generated from the following file: