Pavel Yaskevich created CASSANDRA-11434:
-------------------------------------------

             Summary: Support EQ/PREFIX queries in CONTAINS mode without 
tokenization by augmenting SA metadata per term
                 Key: CASSANDRA-11434
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11434
             Project: Cassandra
          Issue Type: Improvement
          Components: sasi
            Reporter: Pavel Yaskevich
            Assignee: Jordan West
             Fix For: 3.6


We can support EQ/PREFIX requests to CONTAINS indexes by tracking "partiality" 
of the data stored in the OnDiskIndex and IndexMemtable, if we know exactly if 
current match represents part of the term or it's original form it would be 
trivial to support EQ/PREFIX since PREFIX is subset of SUFFIX matches.

Since we attach uint16 size to each term stored we can take advantage of sign 
bit so size of the index is not impacted at all.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to