Re: Old data not indexed

2011-01-15 Thread Stu Hood
As mentioned in the article you linked, index creation happens asynchronously: when you perform the schema update call to add an index, the index starts building in the background, and will not be completely valid until it finishes building. I believe there is a JMX call to check the status of this

Re: Old data not indexed

2011-01-13 Thread Tan Yeh Zheng
Hi all, More specifically, I added two rows of data. Row A (users['A']['state']='UT') is added before I add indexing to the column and the Row B (users['B']['state']='UT') after indexing. When I call get_indexed_slices (state='UT') to query the two rows, only the Row B is returned. It's as if Cas

Old data not indexed

2011-01-12 Thread Tan Yeh Zheng
I tried to run the example on http://www.riptano.com/blog/whats-new-cassandra-07-secondary-indexes programatically. After I index the column "state", I tried to get_indexed_slices (where state = 'UT') but it returned an empty list. But if I index first, then query, it'll return the correct result