Class: ElasticsearchDslBuilder::DSL::Search::Aggregations::AggregationsCollection
- Inherits:
-
Hash
- Object
- Hash
- ElasticsearchDslBuilder::DSL::Search::Aggregations::AggregationsCollection
- Defined in:
- lib/elasticsearch_dsl_builder/dsl/search/aggregation.rb
Instance Method Summary collapse
Instance Method Details
#to_hash ⇒ Object
7 8 9 |
# File 'lib/elasticsearch_dsl_builder/dsl/search/aggregation.rb', line 7 def to_hash Hash[map { |k, v| [k, v.to_hash] }] end |