How to programatically add index to Cassandra 0.7
问题 I tried to run the demo on http://www.riptano.com/blog/whats-new-cassandra-07-secondary-indexes programatically, but the results are different from running it in CLI. It seems like Cassandra can only index columns after index is added. All previous data are left unindexed. Full source code are as below:- public static void main(String[] args) { try { try { transport.open(); } catch (TTransportException ex) { Logger.getLogger(IndexLaterTest.class.getName()).log(Level.SEVERE, null, ex); System