flatiron/resourceful — Issue #9: More than one engine for a single Resource
Author: richmarr
Created: 2011-11-09 15:35:34+00:00
State: open

CouchDB and Elasticsearch are a great complement for each other, but to work best Elasticsearch can require knowledge of document types and specific behaviour for special fields in order to create the mappings and rivers required. It'd be great if you could manage both engines through the same Resource objects.

The problem is that currently Resourceful only allows one engine for a single Resource.

Not sure whether you guys see this as something best addressed by Resourceful core itself, by the client application, or by creating a hybrid Couch/ES engine. If there's consensus and nobody else wants to tackle it then I'm happy to have a crack.