elasticsearch-rails

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

Ruby

Elasticsearch integrations for ActiveModel/Record and Ruby on Rails

Elasticsearch::Model::Multimodel#index_name

Get an Array of index names used for retrieving documents when doing a search across multiple models

Source | Google | Stack overflow

Edit

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

cd elasticsearch-rails

open elasticsearch-model/lib/elasticsearch/model/multimodel.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Elasticsearch--Model--Multimodel-index_name-for-pr


# Commit to git

git add elasticsearch-model/lib/elasticsearch/model/multimodel.rbgit commit -m "better docs for Elasticsearch::Model::Multimodel#index_name"


# 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--Model--Multimodel-index_name-for-pr

hub pull-request


# Celebrate!