Class: Couchbase::SearchFacetResult::TermFacetResult::TermFacet

Inherits:
Object
  • Object
show all
Defined in:
lib/couchbase/search_options.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(term, count) ⇒ TermFacet

Returns a new instance of TermFacet.



1468
1469
1470
1471
1472
# File 'lib/couchbase/search_options.rb', line 1468

def initialize(term, count)
  super()
  @term = term
  @count = count
end

Instance Attribute Details

#countInteger (readonly)

Returns:

  • (Integer)


1466
1467
1468
# File 'lib/couchbase/search_options.rb', line 1466

def count
  @count
end

#termString (readonly)

Returns:

  • (String)


1463
1464
1465
# File 'lib/couchbase/search_options.rb', line 1463

def term
  @term
end