elasticsearch-ruby

https://github.com/elastic/elasticsearch-ruby

Ruby

Ruby integrations for Elasticsearch

Elasticsearch::API::Actions#mget

Return multiple documents from one or more indices in a single request.

Pass the request definition in the `:body` argument, either as an Array of `docs` specifications,
or `ids`, when the `:index` and document `:type` are specified.

Source | Google | Stack overflow

Edit

git clone [email protected]:elastic/elasticsearch-ruby.git

cd elasticsearch-ruby

open elasticsearch-api/lib/elasticsearch/api/actions/mget.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Elasticsearch--API--Actions-mget-for-pr


# Commit to git

git add elasticsearch-api/lib/elasticsearch/api/actions/mget.rbgit commit -m "better docs for Elasticsearch::API::Actions#mget"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Elasticsearch--API--Actions-mget-for-pr

hub pull-request


# Celebrate!