Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 325827 - [Query2] Performance improvements in Indexing
Summary: [Query2] Performance improvements in Indexing
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: Query2 (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-21 06:56 EDT by saurav sarkar CLA
Modified: 2011-05-17 17:56 EDT (History)
1 user (show)

See Also:


Attachments
Prevents the problem of Full build of Workspace everytime the IDE is started. (12.64 KB, patch)
2010-12-10 03:09 EST, Animesh Kumar CLA
wayne.beaton: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description saurav sarkar CLA 2010-09-21 06:56:08 EDT
Build Identifier: 

This came out from the https://bugs.eclipse.org/bugs/show_bug.cgi?id=323820.
Please see the last comment i.e.

The indexed resources should be checked for timestamp, to identify if
re-indexing is needed.

The indexer also have mechanism of dumping. It should be used to quickly load
index on restart, if the timestamp of resources have not changed


This part to be solved in this bug.

Reproducible: Always
Comment 1 Animesh Kumar CLA 2010-12-10 03:09:41 EST
Created attachment 184922 [details]
Prevents the problem of Full build of Workspace everytime the IDE is started.

To prevent full build of workspace, everytime the IDE is started, dumping and loading of indices was activated.
The Scenarios which were kept in mind while creating this patch were:-
1)A fresh workspace is created and no resources exist:- Indexing is not required in such a case.
2) Resources exist and IDE is shut down normally:- The indices are dumped and then at IDE start they are loaded.
3) Resources exist and IDE is shut down improperly:- The indices are not dumped. At the start of IDE a Full Build is done to build the indices. Since this is rare scenario and also due improper shutdown workspace has to be refreshed and hence Full build is needed.
4) Clean Build:- All resources will be reindexed.
Comment 2 saurav sarkar CLA 2011-01-06 23:53:17 EST
Patch submitted.
Hence closing the bug