ajermakovics / eclipse-instasearch

Eclipse plug-in for fast code search
http://marketplace.eclipse.org/content/instasearch
Eclipse Public License 2.0
170 stars 48 forks source link

Rebuilding the index #8

Closed arthur-ar closed 11 years ago

arthur-ar commented 12 years ago

Hello,

I have a problem and don't know how to fix it. I am using this plugin for a huge project (more than 6000 .C files) and this plugin does not work, any text I enter it only searches in .project and .cproject files. I changed the list of extension of files to be included in the indexing, and an information text is appeared "Rebuilding of index is recommended" but I don't know how to rebuild the index, I can't find option for that, and the Instasearch continues searching only in .project and .cproject files. I am using:

I don't know if this is a problem or I do something wrong. I would appreciate your help.

Thank you in advance, Arthur.

ajermakovics commented 12 years ago

Hi,

There is Rebuild button on the InstaSearch view toolabar and also a menu option in the view. Let me know if it works or not.

arthur-ar commented 12 years ago

Hello,

Thank you for your response.

I tried it, but it doesn't work. The rebuilding takes very short time, like 2-3 seconds, and it seems that it doesn't index all files, because when I put some text and after the "ext" keywords, the only options that appear me are "project" and "cproject". In options I selected all extensions to be indexed, and also I added some extensions. I don't know what is the problem, because with a small test project it seems that it works fine.

ajermakovics commented 12 years ago

What about replacing all extensions with a "*"? Also the files/folders must not have the Derived flag on. Derived folders are not indexed.

arthur-ar commented 12 years ago

ok, probably the problem is because all files are imported as links in workspace with virtual folders (I think that is what you mean with derived folders, rigth?) So no way to index these files?

arthur-ar commented 12 years ago

I just figured out that all files and folders has a property "Derived". I checked and that flag is off. I changed the extension with "*" but it still does not work...

ajermakovics commented 11 years ago

There's a new version, 1.5, please re-open if still doesn't work in the new version. Thanks