eclipse-instasearch icon indicating copy to clipboard operation
eclipse-instasearch copied to clipboard

Indexing jar source attachments

Open ninjafrombox opened this issue 11 years ago • 1 comments

It seems that not all text resources from jar source attachments are indexed. If some text resource is placed at java package it doesn't indexed.

I check searching content of xml files that are inside jar source attachments. I find out that search works only if that xml is placed out of java packages (i.e. in root of jar or in special directory like META-INF).

Is it possible to index all resources inside jar source attachments no matter where they are located?

ninjafrombox avatar May 24 '13 09:05 ninjafrombox

That shouldn't be too hard to implement. The indexer already indexes non .java files in root folders: https://github.com/ajermakovics/eclipse-instasearch/blob/master/instasearch/src/it/unibz/instasearch/indexing/WorkspaceIndexerJDT.java#L131

but does not look for other resources in packages.

ajermakovics avatar Jun 10 '13 21:06 ajermakovics