Trace index selection
patch by Lyuben Todorov and jbellis for CASSANDRA-6001