elasticsearch-ruby

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

Ruby

Ruby integrations for Elasticsearch

Elasticsearch::API::Nodes::Actions#info

Returns information about nodes in the cluster (cluster settings, JVM version, etc).

Use the `all` option to return all available settings, or limit the information returned
to a specific type (eg. `http`).

Use the `node_id` option to limit information to specific node(s).

Source | Google | Stack overflow

Edit

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

cd elasticsearch-ruby

open elasticsearch-api/lib/elasticsearch/api/actions/nodes/info.rb

Contribute

# Make a new branch

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


# Commit to git

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


# 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--Nodes--Actions-info-for-pr

hub pull-request


# Celebrate!