Srdjan Mitrovic created CASSANDRA-5219:
------------------------------------------

             Summary: get_indexed_keys
                 Key: CASSANDRA-5219
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5219
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Srdjan Mitrovic


We would like to get the list of keys for some indexed value by using only one 
disk seek per node.
Unfortunately get_indexed_slices would also read CF where keys can be in many 
different places so it would take many disk seeks just to get the list of keys.

Something like get_indexed_keys(keyRange) would be very beneficial to us.

Much better idea is to use existing 
list<KeySlice> get_range_slices(ColumnParent column_parent, SlicePredicate 
predicate, KeyRange range, ConsistencyLevel consistency_level) without breaking 
any compatibility. 

If SlicePredicate has empty list of columns and KeyRange has an IndexExpression 
then only index should be fetched to return the desired keys without touching 
indexed CF. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to