Class: OpenSearch::DSL::Search::AggregationsCollection
- Inherits:
-
Hash
- Object
- Hash
- OpenSearch::DSL::Search::AggregationsCollection
- Defined in:
- lib/opensearch/dsl/search/aggregation.rb
Instance Method Summary collapse
Instance Method Details
#to_hash ⇒ Object
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 |