[ 
https://issues.apache.org/jira/browse/CASSANDRA-3994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13222269#comment-13222269
 ] 

Dmitry Petrashko commented on CASSANDRA-3994:
---------------------------------------------

Yes, but it allows only equals filter.
It uses ThriftValidation.validateFilterClauses that requires at least one EQ 
operation
isIndexed |= (expression.op == IndexOperator.EQ) && 
indexedColumns.contains(expression.column_name);

Currently we've developed index that can efficiently work with LT GT 
operations, this patch provides support for requests with filters that use 
index on operations other than equals.
                
> Allow indexes for comparisons other than equal
> ----------------------------------------------
>
>                 Key: CASSANDRA-3994
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3994
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Dmitry Petrashko
>         Attachments: Validation_fix_for_filters_other_than_EQuals.patch
>
>
> As for now, validation marks filters with operations other than equal as 
> invalid.
> This is also gives initial support for indexes other than KEYS

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to