This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A Rake tasks to facilitate importing data from your models into a common Elasticsearch index. | |
# | |
# All models should declare a common index_name, and a document_type: | |
# | |
# class Article | |
# include Elasticsearch::Model | |
# | |
# index_name 'app_scoped_index' | |
# document_type 'articles' | |
# |