Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse file search caching

Tags:

eclipse

I've noticed that in a file search (CTRL+H) in Eclipse, the first time you search against a "Working Set" it takes a considerable amount of time for the search to complete. Subsequent searches on that Working Set run much faster, presumably because there is some sort of index it is searching against rather than the actual files. However, after a (un)certain amount of time that indexing seems to expire and the search routine reverts back to the full file parsing.

What is the lifetime of this cached indexing? Can it be increased or persisted?

like image 260
Dane Avatar asked May 30 '26 19:05

Dane


1 Answers

I believe that this is OS-level caching in effect. Eclipse itself doesn't cache your files when searching via CTRL-H.

like image 119
Peter Štibraný Avatar answered Jun 01 '26 15:06

Peter Štibraný