Class: Couchbase::SearchFacetResult::TermFacetResult

Inherits:
SearchFacetResult
  • Object
show all
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

Constructor Details

#initialize {|self| ... } ⇒ TermFacetResult

Returns a new instance of TermFacetResult.

Yield Parameters:



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>

Returns:



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