A small (one might even say 'micro') service that hooks into rethinkdb-orm models and generates elasticsearch indicies.
rubber-soul exposes a REST API to reindex/backfill specific models.
RubberSoul::MANAGED_TABLESwith an array of
(T < RethinkORM::Base).class
ES_PORTenv vars, or through switches on the command line
Deletes indexes and recreates index mappings. Backfills the indices by default (toggle with backfill boolean).
Backfills all indexes with data from RethinkDB.
es_typeto specify the correct field datatype for the index schema.
belongs_toassociations are modelled with ES
joindatatypes, associated documents are replicated in their parent's index. This is necessary for
RubberSoul::TableManager hooks into the changefeed of a table, resolves associations of the model and creates/updates documents in the appropriate ES indices.
git checkout -b my-new-feature)
git commit -am 'Add some feature')
git push origin my-new-feature)