elasticsearch-ruby
https://github.com/elastic/elasticsearch-ruby
Ruby
Ruby integrations for Elasticsearch
Elasticsearch::DSL::Search::Aggregations::Composite#to_hash
No Docs, write some!
Edit
git clone [email protected]:elastic/elasticsearch-ruby.git
cd elasticsearch-ruby
open elasticsearch-dsl/lib/elasticsearch/dsl/search/aggregations/composite.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Elasticsearch--DSL--Search--Aggregations--Composite-to_hash-for-pr
# Commit to gitgit add elasticsearch-dsl/lib/elasticsearch/dsl/search/aggregations/composite.rbgit commit -m "better docs for Elasticsearch::DSL::Search::Aggregations::Composite#to_hash"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Elasticsearch--DSL--Search--Aggregations--Composite-to_hash-for-pr
hub pull-request
# Celebrate!