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