Class: Couchbase::Cluster::SearchSort::SearchSortScore
- Inherits:
-
Couchbase::Cluster::SearchSort
- Object
- Couchbase::Cluster::SearchSort
- Couchbase::Cluster::SearchSort::SearchSortScore
- Defined in:
- lib/couchbase/search_options.rb
Instance Attribute Summary collapse
-
#desc ⇒ Boolean
If descending order should be applied.
Instance Method Summary collapse
-
#initialize {|| ... } ⇒ SearchSortScore
constructor
A new instance of SearchSortScore.
Methods inherited from Couchbase::Cluster::SearchSort
field, geo_distance, id, score
Constructor Details
#initialize {|| ... } ⇒ SearchSortScore
Returns a new instance of SearchSortScore.
960 961 962 |
# File 'lib/couchbase/search_options.rb', line 960 def initialize yield self if block_given? end |
Instance Attribute Details
#desc ⇒ Boolean
Returns if descending order should be applied.
957 958 959 |
# File 'lib/couchbase/search_options.rb', line 957 def desc @desc end |