Class: OpenSearch::DSL::Search::AggregationsCollection

Inherits:
Hash
  • Object
show all
Defined in:
lib/opensearch/dsl/search/aggregation.rb

Instance Method Summary collapse

Instance Method Details

#to_hashObject



36
37
38
# File 'lib/opensearch/dsl/search/aggregation.rb', line 36

def to_hash
  @hash ||= Hash[map { |k,v| [k, v.to_hash] }]
end