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 - Try to merge indexes for different languages into single index file
Summary: Try to merge indexes for different languages into single index file
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks: 177274
  Show dependency tree
 
Reported: 2009-11-23 11:06 UTC by Tomas Zezula
Modified: 2009-11-30 06:59 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.