Class: Couchbase::SearchFacetResult::TermFacetResult
- Inherits:
-
Couchbase::SearchFacetResult
- Object
- Couchbase::SearchFacetResult
- Couchbase::SearchFacetResult::TermFacetResult
- Defined in:
- lib/couchbase/search_options.rb,
/code/couchbase-ruby-client/lib/couchbase/search_options.rb
Defined Under Namespace
Classes: TermFacet
Instance Attribute Summary collapse
Attributes inherited from Couchbase::SearchFacetResult
#field, #missing, #name, #other, #total
Instance Method Summary collapse
-
#initialize {|self| ... } ⇒ TermFacetResult
constructor
A new instance of TermFacetResult.
- #type ⇒ Object
Constructor Details
#initialize {|self| ... } ⇒ TermFacetResult
Returns a new instance of TermFacetResult.
1456 1457 1458 1459 |
# File 'lib/couchbase/search_options.rb', line 1456 def initialize super yield self if block_given? end |
Instance Attribute Details
#terms ⇒ Array<TermFacet>
1449 1450 1451 |
# File 'lib/couchbase/search_options.rb', line 1449 def terms @terms end |
Instance Method Details
#type ⇒ Object
1451 1452 1453 |
# File 'lib/couchbase/search_options.rb', line 1451 def type :term_facet end |