This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 190872

Summary: Make common LuceneIndex support
Product: editor Reporter: Tomas Zezula <tzezula>
Component: Parsing & IndexingAssignee: Tomas Zezula <tzezula>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:
Bug Depends on: 190873    
Bug Blocks: 168822    

Description Tomas Zezula 2010-10-10 07:12:08 UTC
Currently the LuceneIndex class is both in java.source and parsing.api. Several methods are the same, but they are not completely the same. A common generic support should be created and shared by java and parsing api as friend api. The duplication of these class causes not only problems with class loading but also with maintaining, these classes are sensitive to update of lucene library. Also some performance improvements were done only in java.source not in parsing.api and the parsing.api's LuceneIndex depends on lucene deprecated apis (already fixed in java.source). On the other side the java.source uses file handlers pool from parsing.api by implementation dependency. The common friend api will remove this reason of impl dependency.
Comment 1 Tomas Zezula 2010-10-14 14:53:36 UTC
Fixed jet-main e8f93be3c8c6
Comment 2 Quality Engineering 2010-10-16 02:52:58 UTC
Integrated into 'main-golden', will be available in build *201010160000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/e8f93be3c8c6
User: Tomas Zezula <tzezula@netbeans.org>
Log: #190872:Make common LuceneIndex support