On Tue, May 12, 2009 at 3:22 AM, Ninad Raut <[email protected]>wrote:

> I have a table which stores HTML Content in a column family called content.
> The row key is the URL for the Content.
> I want to index this table for fast retrival of content and verbatims.



You could subclass HBase and then on insert, add the document to SOLR after
inserting it into hbase.  See transactional hbase,
http://hadoop.apache.org/hbase/docs/r0.19.2/api/org/apache/hadoop/hbase/regionserver/transactional/package-summary.html,
for an example of hbase subclassing.

(Maybe we should provide pre/post-insert hooks for fellas to insert code?)
St.Ack

Reply via email to