Re: Query Regarding HBase Schema Design for Composite Keys and Indexing.

2011-03-14 Thread Stack
On Sun, Mar 13, 2011 at 10:28 PM, Mohit mohitsi...@huawei.com wrote: Hmm, but I guess; earlier the secondary index feature was the part of HBase release, as exposed Java API's. In  release 0.20.x. There was a bug as well to support that, which is fixed. HBASE-883. Authors/Users/Michael,

RE: Query Regarding HBase Schema Design for Composite Keys and Indexing.

2011-03-13 Thread Mohit
: Michael Segel [mailto:michael_se...@hotmail.com] Sent: Thursday, March 10, 2011 10:06 PM To: user@hbase.apache.org Subject: RE: Query Regarding HBase Schema Design for Composite Keys and Indexing. Mohit, The short answer is that the row key is the primary key and hence has a backing index

RE: Query Regarding HBase Schema Design for Composite Keys and Indexing.

2011-03-10 Thread Michael Segel
Mohit, The short answer is that the row key is the primary key and hence has a backing index. Outside of that, HBase doesn't support secondary indexes. Your primary key could be a composite of values. You can use a secondary index, and some of the code is out in Git Hub. But its not