Mike Adamson created CASSANDRA-18166:
----------------------------------------

             Summary: Improve the code model around IndexContext
                 Key: CASSANDRA-18166
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18166
             Project: Cassandra
          Issue Type: Improvement
          Components: Feature/SAI
            Reporter: Mike Adamson


We currently have a situation where we need to create an IndexContext that is 
for a non-indexed column and therefore is never going to be used for indexing 
or searching. This results in the IndexContext having to check for this at 
points in the code with assertions. The reason for this that, even when the 
column is non-indexed, we need to have information about the column for the 
purpose of post-filtering. 

It would make sense to split out the column / index information needed for 
filtering from the indexing / searching requirements such that we could avoid 
unnecessary assertions in the code.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to