cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Petrashko (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-3995) Support multiple indexes on single query
Date Mon, 19 Mar 2012 08:17:41 GMT

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

Dmitry Petrashko commented on CASSANDRA-3995:
---------------------------------------------

{code:java}
// Start with the most-restrictive indexed clause, then apply remaining clauses
// to each row matching that clause.
{code}
Comment in KeysIndex is right as long as there is one index type. It selects most restrictive
index clause of those, that are supported by keys index, but as there is support for custom
indexes, SecondaryIndexManager should be able to select best of all possible index types to
serve a query.
I've added more comments that describe new approach.
                
> Support multiple indexes on single query
> ----------------------------------------
>
>                 Key: CASSANDRA-3995
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3995
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Dmitry Petrashko
>         Attachments: Support_Multiple_Indexes-v2.patch, Support_Multiple_Indexes-v3.patch,
Support_for_multiple_indexes.patch
>
>
> Currently if multiple secondary index types are available query is not processed.
> Expected behavior executing query with index with best selectivity.

--
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

        

Mime
View raw message