Re: Modeling Multi-Valued Fields

2011-03-10 Thread Sasha Dolgy
hm. i use this approach and have secondary indexes configured on the columns if i need to do a specific search for an address. alternately, in the user cf, if you wanted to be very uncool, but optimized for always retrieving the user email addresses, you could have the uuid for the user record an

Re: Modeling Multi-Valued Fields

2011-03-10 Thread aaron morton
Two approaches here. First the "many columns" approach. Have a super column called Email, for each email address store the type as the column name and the email address as the column name. In cassandra you can store information in the column names as well as the column values. And you do not ne