elasticsearch-ruby

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

Ruby

Ruby integrations for Elasticsearch

Elasticsearch::Extensions::Reindex::API#reindex

Copy documents from one index into another and refresh the target index

The method allows all the options as {Reindex::Reindex.new}.

This method will be mixed into the Elasticsearch client's API, if available.

Source | Google | Stack overflow

Edit

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

cd elasticsearch-ruby

open elasticsearch-extensions/lib/elasticsearch/extensions/reindex.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Elasticsearch--Extensions--Reindex--API-reindex-for-pr


# Commit to git

git add elasticsearch-extensions/lib/elasticsearch/extensions/reindex.rbgit commit -m "better docs for Elasticsearch::Extensions::Reindex::API#reindex"


# 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--Extensions--Reindex--API-reindex-for-pr

hub pull-request


# Celebrate!