hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Re: Stargate+hbase
Date Fri, 25 Mar 2011 05:48:58 GMT
There is no native support for secondary indices in HBase (currently).
 You will have to manage it yourself.
St.Ack

On Thu, Mar 24, 2011 at 10:47 PM, sreejith P. K. <sreejithpk@nesote.com> wrote:
> I have tried secondary indexing. It seems I miss some points. Could you
> please explain how it is possible using secondary indexing?
>
>
> I have tried like,
>
>
>                Columnamilty1:kwd1
>                Columnamilty1:kwd2
> row1         Columnamilty1:kwd3
>                Columnamilty1:kwd2
>
>                Columnamilty1:kwd1
>                Columnamilty1:kwd2
> row2         Columnamilty1:kwd4
>                Columnamilty1:kwd5
>
>
> I need to get all rows which contain kwd1 and kwd2
>
> Please help.
> Thanks
>
>
> On Thu, Mar 24, 2011 at 9:57 PM, Jean-Daniel Cryans <jdcryans@apache.org>wrote:
>
>> What you are asking for is a secondary index, and it doesn't exist at
>> the moment in HBase (let alone REST). Googling a bit for "hbase
>> secondary indexing" will show you how people usually do it.
>>
>> J-D
>>
>> On Thu, Mar 24, 2011 at 6:18 AM, sreejith P. K. <sreejithpk@nesote.com>
>> wrote:
>> > Is it possible using stargate interface to hbase,  fetch all rows where
>> more
>> > than one column family:<qualifier> must be present?
>> >
>> > like :select  rows which contains keyword:a and keyword:b ?
>> >
>> > Thanks
>> >
>>
>
>
>
> --
> Sreejith PK
> Nesote Technologies (P) Ltd
>

Mime
View raw message