On Sat, May 16, 2009 at 5:31 PM, Jamie Johnson <[email protected]> wrote:

> Thanks, I am looking into this perhaps my question should have been a
> little
> different though.
>
> If I am starting from scratch, nothing in the DB and want to keep a Lucene
> index for information I add in hbase is there a way to build the index on
> insertion instead of running a map reduce task after it has been inserted?


You could study the experimental transactional hbase -- THBase -- and its
derivative indexed hbase where here the indexed refers to upkeep of
secondary indices.  They are subclasses of hbase core.   They include some
doc. on how to set them up in the javadoc.  See how an update is amended to
both insert into an hbase table and to do another action all as part of the
one insert operation.

St.Ack

Reply via email to