Sorts by location in the hits.
More...
#include <couchbase/search_sort_geo_distance.hxx>
◆ search_sort_geo_distance() [1/2]
◆ search_sort_geo_distance() [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.
◆ unit()
Specifies the unit used for sorting.
- Parameters
-
- Since
- 1.0.0
- Committed
- Generally available API and should be preferred in production
The documentation for this class was generated from the following file: