elasticsearch-ruby

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

Ruby

Ruby integrations for Elasticsearch

Elasticsearch::API::Cluster::Actions#pending_tasks

Returns a list of any cluster-level changes (e.g. create index, update mapping, allocate or fail shard)
which have not yet been executed and are queued up.

Source | Google | Stack overflow

Edit

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

cd elasticsearch-ruby

open elasticsearch-api/lib/elasticsearch/api/actions/cluster/pending_tasks.rb

Contribute

# Make a new branch

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


# Commit to git

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


# 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--Cluster--Actions-pending_tasks-for-pr

hub pull-request


# Celebrate!