Re: creating secondary index after data exists

2011-02-12 Thread Jonathan Ellis
index creation isn't instant, no. cli describe keyspace will tell you which ones are still building. On Sat, Feb 12, 2011 at 7:40 AM, Sasha Dolgy wrote: > hi there, > was playing around today and had a simple CF with sample user data with the > following columns: > > | email | name | nickname |

creating secondary index after data exists

2011-02-12 Thread Sasha Dolgy
hi there, was playing around today and had a simple CF with sample user data with the following columns: | email | name | nickname | >From the cassandra-cli I ran the following: update column family user with column_metadata=[{column_name: nickname, validation_class: UTF8Type,index_type: KEYS