cassandra-river
cassandra-river copied to clipboard
Tweaking data before indexing
Hi, Is there a way to tweak the data before indexing. e.g change field names or skip few fields?
Regards Saud.
The current version doesn't support tweaking the data before pushing to ES. But you can implement that here: https://github.com/eBay/cassandra-river/blob/master/src/main/java/org/elasticsearch/river/cassandra/CassandraRiver.java#L116 You will need to change cassandraData
accordingly or another way is supporting CQL.
Mysql river supports it by passing SQL queries to river _meta: https://github.com/jprante/elasticsearch-river-jdbc