Re: Queries on secondary indexes

2011-02-21 Thread Norman Maurer
No sure whats your problem.. Use two EQ operations works without a problem here (even via the cli). Bye, Norman 2011/2/18 Rauan Maemirov : > With this schema: > create column family Userstream with comparator=UTF8Type and rows_cached = > 1 and keys_cached = 10 > and column_metadata=[{col

Re: Queries on secondary indexes

2011-02-19 Thread Jonathan Ellis
If your question is "why are some of the values in hex," it's because you didn't specify a validation_class on the other columns. On Fri, Feb 18, 2011 at 6:46 AM, Rauan Maemirov wrote: > With this schema: > create column family Userstream with comparator=UTF8Type and rows_cached = > 1 and key

Re: Queries on secondary indexes

2011-02-19 Thread Rauan Maemirov
Hm, phpcassa works great, I guess that is the problem of cli. Now it doesn't return any rows at all. 2011/2/18 Rauan Maemirov > With this schema: > > create column family Userstream with comparator=UTF8Type and rows_cached = > 1 and keys_cached = 10 > and column_metadata=[{column_name:ac

Queries on secondary indexes

2011-02-18 Thread Rauan Maemirov
With this schema: create column family Userstream with comparator=UTF8Type and rows_cached = 1 and keys_cached = 10 and column_metadata=[{column_name:account_id, validation_class:IntegerType, index_type: 0, index_name:UserstreamAccountidIdx}, {column_name:from_id, validation_class:IntegerT