first pass at support for elasticsearch indexing backend (only for cassandra remote for the moment)