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. <[email protected]> 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 
> <[email protected]>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. <[email protected]>
>> 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
>

Reply via email to