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 177465

Summary: Try to merge indexes for different languages into single index file
Product: editor Reporter: Tomas Zezula <tzezula>
Component: Parsing & IndexingAssignee: Tomas Zezula <tzezula>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 177274    

Description Tomas Zezula 2009-11-23 11:06:19 UTC
Part of umbrella issue 177274.
Less indexes => less IO => better performance.
Comment 1 Vladimir Voskresensky 2009-11-30 03:47:42 UTC
Tomas, when we have implemented index repository for C++ we have made due diligence and our conclusion was: 
it is very slow to have index per file
in our case we have index file per namespace => less indexes

=> you can try to merge indexes per package
Comment 2 Tomas Zezula 2009-11-30 06:59:32 UTC
>it is very slow to have index per file
Currently we have an index per source root not for file (package).
Which seems to be the best choice, unfortunately there are too many indexes (java - original one, javascript, tasklist, fileindex, ...). The opening of index takes some time and go to type needs to consult all indexers (except of fileindexer and tasklist).
The goal of this issue is to put all documents for given root into single index.