Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-3249

Index search in provided set of rows (support of sub query)

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Normal
    • Resolution: Won't Fix
    • None
    • Legacy/CQL
    • None

    Description

      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:

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

      or create specified API method.

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

      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

      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.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned Assign to me
            apparition Evgeny Ryabitskiy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment