Class: Couchbase::SearchFacetResult::TermFacetResult
- Inherits:
-
SearchFacetResult
- Object
- SearchFacetResult
- Couchbase::SearchFacetResult::TermFacetResult
- Defined in:
- lib/couchbase/search_options.rb,
/home/runner/work/couchbase-ruby-client/couchbase-ruby-client/lib/couchbase/search_options.rb
Defined Under Namespace
Classes: TermFacet
Instance Attribute Summary collapse
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.
1550 1551 1552 1553 |
# File 'lib/couchbase/search_options.rb', line 1550 def initialize super yield self if block_given? end |
Instance Attribute Details
#terms ⇒ Array<TermFacet>
1543 1544 1545 |
# File 'lib/couchbase/search_options.rb', line 1543 def terms @terms end |
Instance Method Details
#type ⇒ Object
1545 1546 1547 |
# File 'lib/couchbase/search_options.rb', line 1545 def type :term_facet end |