Index search in provided set of rows (supporting of sub query)
--------------------------------------------------------------

                 Key: CASSANDRA-3249
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3249
             Project: Cassandra
          Issue Type: New Feature
          Components: API, Core
    Affects Versions: 0.8.6
            Reporter: Evgeny Ryabitskiy
             Fix For: 1.1


This issue is related to discussion on mailing list:
http://www.mail-archive.com/user@cassandra.apache.org/msg17135.html

Idea is to support Cassandra build-in index search over specified set of rows.

>From API view: 

It can be extension of get_indexed_slices, for example:

{quote}
List<byte[]> rowKys = ... ; //list of row keys
IndexClause indexClause = new IndexClause();

indexClause.setKeys(keys);  //required API to set list of keys

indexClause.setExpressions(someFilteringExpressions);
List finalResult = get_indexed_slices(colParent, indexClause, colPredicate, 
cLevel);
{quote}

or create specified API method.

>From conceptual view it was noticed:
That would be implementation of sub query.

{quote}
The index clause is applied to the set of all rows in the database, not a sub 
set, applying them to a sub set is implicitly supporting a sub query
{quote}


Benefits of this feature is that search can be split in 2 stages:
1) Search over external engine (for example full text search)
2) Cassandra build-in index search over result from first stage

This combination could solve most of limitations that came with solution based 
only on external search engine.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to