Class: Couchbase::Cluster::SearchMetaData

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of SearchMetaData.

Yield Parameters:



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

def initialize
  @metrics = SearchMetrics.new
  yield self if block_given?
end

Instance Attribute Details

#errorsHash<String => String>

Returns:

  • (Hash<String => String>)


1458
1459
1460
# File 'lib/couchbase/search_options.rb', line 1458

def errors
  @errors
end

#metricsSearchMetrics

Returns:



1455
1456
1457
# File 'lib/couchbase/search_options.rb', line 1455

def metrics
  @metrics
end