Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-core-dev] Odd index issues?

Many thanks Manoj,
 
I was on I20170424-2000 and after update to the I20170426-2000 *and* clearing the index as proposed, the issue seem to disappear.
Sorry for the silly question - are *both* indexes cleared with this method?
 
Another question: after clearing the index I didn't noticed any index activity so I did a restart and on startup this INFO was added to the error log:
Index database uses the unsupported version 0. Deleting and recreating.
After that I saw that the indexer started to index. Is this expected (I mean - extra restart)?
 
Kind regards,
Andrey Loskutov

http://google.com/+AndreyLoskutov
 
 
Gesendet: Donnerstag, 27. April 2017 um 07:49 Uhr
Von: "Manoj Palat" <manoj.palat@xxxxxxxxxx>
An: "Eclipse JDT Core developers list." <jdt-core-dev@xxxxxxxxxxx>
Betreff: Re: [jdt-core-dev] Odd index issues?

Hi Andrey,

If you are using any of the Eclipses (say I20170426-2000) since yesterday, there is an option added to clear the indices. This is under Preferences -> Java and is called "Clear Indexes" as shown in the figure attached.
Please note that the clear indexes will not only clear the indices but will rebuild the indices again. Depending on whether the checkbox "Enable new Java Index" is enabled or not, the new indices will be rebuilt.
[For further info, if interested, on this particular feature, please have a look at https://bugs.eclipse.org/bugs/show_bug.cgi?id=515534]






That said, please note that the new index is used only for type hierarchy. For open type, its the old index that is used. Request you to file a bug in case you get this issue again.
Also, is there any particular weekly build which you have identified where this issue started to suffice?

Regards,
Manoj.


Inactive hide details for Andrey Loskutov ---04/27/2017 10:54:52 AM---Hi all, I'm using pretty populated workspace with most SDAndrey Loskutov ---04/27/2017 10:54:52 AM---Hi all, I'm using pretty populated workspace with most SDK projects but change

From: Andrey Loskutov <loskutov@xxxxxx>
To: jdt-core-dev@xxxxxxxxxxx
Date: 04/27/2017 10:54 AM
Subject: [jdt-core-dev] Odd index issues?
Sent by: jdt-core-dev-bounces@xxxxxxxxxxx





Hi all,

I'm using pretty populated workspace with most SDK projects but change
weekly SDK builds I use, and since a week I observe a strange issue that
some times content assist/open type don't shows types in same project or
types already referenced in the java file.

I suspect this could be some index issue (I don't want to think about
bugs in JDT at this level), and because my workspace contains lot of
projects and working sets, I don't wont to throw it away. What is the
best way to completely throw away the JDT index (both of them)?

--
Kind regards,
Andrey Loskutov


http://google.com/+AndreyLoskutov
_______________________________________________
jdt-core-dev mailing list
jdt-core-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

https://dev.eclipse.org/mailman/listinfo/jdt-core-dev




_______________________________________________ jdt-core-dev mailing list jdt-core-dev@xxxxxxxxxxx To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jdt-core-dev

Back to the top