Creating a custom index on a collection using CQL 3.0
问题 I have been looking at the CQL 3.0 data modelling documentation which describes a column family of songs with tags, created like this: CREATE TABLE songs ( id uuid PRIMARY KEY, title text, tags set<text> ); I would like to get a list of all songs which have a specific tag, so I need to add an appropriate index. I can create an index on the title column easily enough, but if I try to index the tags column which is a collection, like this: CREATE INDEX ON songs ( tags ); I get the following