Class: Couchbase::Cluster::SearchFacetResult::TermFacetResult
- Inherits:
-
Couchbase::Cluster::SearchFacetResult
- Object
- Couchbase::Cluster::SearchFacetResult
- Couchbase::Cluster::SearchFacetResult::TermFacetResult
- Defined in:
- lib/couchbase/search_options.rb
Defined Under Namespace
Classes: TermFacet
Instance Attribute Summary collapse
Attributes inherited from Couchbase::Cluster::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.
1325 1326 1327 |
# File 'lib/couchbase/search_options.rb', line 1325 def initialize yield self if block_given? end |
Instance Attribute Details
#terms ⇒ Array<TermFacet>
1318 1319 1320 |
# File 'lib/couchbase/search_options.rb', line 1318 def terms @terms end |
Instance Method Details
#type ⇒ Object
[View source]
1320 1321 1322 |
# File 'lib/couchbase/search_options.rb', line 1320 def type :term_facet end |