You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Kay Kay (JIRA)" <ji...@apache.org> on 2010/01/11 21:42:54 UTC

[jira] Commented: (HBASE-2107) Upgrading Lucene 2.2 to Lucene 3.0.0

    [ https://issues.apache.org/jira/browse/HBASE-2107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12798853#action_12798853 ] 

Kay Kay commented on HBASE-2107:
--------------------------------

Deprecated methods / removals: 

* Field.TOKENIZED renamed as Field.ANALYZED (with the former removed altogether ). 
* IndexWriter ctor.   IndexWrite(String,Analyzer,boolean) removed in favor of Directory based input. In our case - we prefer file-based Directory implementation. 




> Upgrading Lucene 2.2 to Lucene 3.0.0 
> -------------------------------------
>
>                 Key: HBASE-2107
>                 URL: https://issues.apache.org/jira/browse/HBASE-2107
>             Project: Hadoop HBase
>          Issue Type: Improvement
>            Reporter: Kay Kay
>         Attachments: HBASE-2107.patch
>
>
> HBase has an utility to export columns as Lucene indices. (o.a.h.hbase.mapreduce.BuildTableIndex ) . 
> This patch increases the version in libraries.properties and addresses some deprecations towards moving it. 
> Rationale for upgradation:
> ====================
> A lot has been happening in the Lucene since 2.2, with improved performance and focus on NRT (Near Real Time search) happening recently.  Hence - we need to keep up with the same and make the utility publish indices for the new version. 
> Caveats:
> =======
> Index created by Lucene 3.0 is *not backward-compatible* with Lucene 2.2 code.  In other words - as part of this upgradation - indices need to be created all over again and the library interacting with the index ( readers / searchers ) need to be upgraded to the new version as well. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.