elasticsearch-ruby
https://github.com/elastic/elasticsearch-ruby
Ruby
Ruby integrations for Elasticsearch
Elasticsearch::API::Indices::Actions#put_warmer
Create or update an index warmer. An index warmer will run before an index is refreshed, ie. available for search. It allows you to register "heavy" queries with popular filters, facets or sorts, increasing performance when the index is searched for the first time.
Edit
git clone [email protected]:elastic/elasticsearch-ruby.git
cd elasticsearch-ruby
open elasticsearch-api/lib/elasticsearch/api/actions/indices/put_warmer.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Elasticsearch--API--Indices--Actions-put_warmer-for-pr
# Commit to gitgit add elasticsearch-api/lib/elasticsearch/api/actions/indices/put_warmer.rbgit commit -m "better docs for Elasticsearch::API::Indices::Actions#put_warmer"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Elasticsearch--API--Indices--Actions-put_warmer-for-pr
hub pull-request
# Celebrate!