Class: Couchbase::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:



1612
1613
1614
1615
# File 'lib/couchbase/search_options.rb', line 1612

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

Instance Attribute Details

#errorsHash<String => String>

Returns:

  • (Hash<String => String>)


1609
1610
1611
# File 'lib/couchbase/search_options.rb', line 1609

def errors
  @errors
end

#metricsSearchMetrics

Returns:



1606
1607
1608
# File 'lib/couchbase/search_options.rb', line 1606

def metrics
  @metrics
end