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

Search using a Working Set filter - does not work

Open rafi-d opened this issue 11 years ago • 7 comments

Hello, I am using version 1.5.2 on the latest Eclipse IDE (Juno SP2). Without using any filter - the search seems to work . Trying to use the pre-defined Wroking set - result in 0 results. My project has folders, all linked to locations on my HD. See screenshots: http://www.imagebam.com/remove/260000034/00921848e83b7d73d54c17dc1d338e89 http://www.imagebam.com/remove/260000038/49f32ea210cd3c09a2c29bf82278efe9 http://www.imagebam.com/remove/260000039/a57f6ca1f8d877ddb7c2e176efa2ab03

Any help ? Tips?

rafi-d avatar Jun 12 '13 17:06 rafi-d

What do you mean by pre-defined working set? Those images don't seem to be available anymore

ajermakovics avatar Jun 13 '13 21:06 ajermakovics

Sorry... http://www.imagebam.com/image/b4cf70260252511 http://www.imagebam.com/image/1eea35260252517 http://www.imagebam.com/image/11951e260252519 What di you mean what do I mean?... One of your "filter by" options are "Working sets", right ? So when I select one of my sets to narrow down the search results to a group of files belownging to that sets - it shows 0 files :( I hope it is now visible in the above pictures.

rafi-d avatar Jun 14 '13 04:06 rafi-d

Sorry... http://www.imagebam.com/image/b4cf70260252511 http://www.imagebam.com/image/1eea35260252517 http://www.imagebam.com/image/11951e260252519 What di you mean what do I mean?... One of your "filter by" options are "Working sets", right ? So when I select one of my sets to narrow down the search results to a group of files belownging to that sets - it shows 0 files :( I hope it is now visible in the above pictures.

Thanks

Rafi

From: andre.js [mailto:[email protected]] Sent: Friday, June 14, 2013 00:55 To: ajermakovics/eclipse-instasearch Cc: rafi-d Subject: Re: [eclipse-instasearch] Search using a Working Set filter - does not work (#37)

What do you mean by pre-defined working set? Those images don't seem to be available anymore

— Reply to this email directly or view it on GitHub https://github.com/ajermakovics/eclipse-instasearch/issues/37#issuecomment-19427709 . https://github.com/notifications/beacon/Hbd-Y-_Vzi3GwqZdXNYpVdibtvXvtlChrzWNT_KrSD8YJmlMYncWb_lcDaFPgQfO.gif

rafi-d avatar Jun 14 '13 04:06 rafi-d

Same issue here. I have a working set defined that only includes a subset of my test classes, and the following search results in 0 results: test ws:"Container Tests". When I select this working set in the Project Explorer I get many JUnit tests. All full of the word test.

scottresnik avatar May 13 '15 20:05 scottresnik

@scottresnik Seems to be working in general. At least I couldn't reproduce this bug in my own workspace. Does it work with any other keywords and working sets?

ajermakovics avatar May 14 '15 10:05 ajermakovics

I can search for almost anything and get results, as soon as I add the ws:any-workingset-name I get 0 results.

I renamed the working set from my prior comment to see if having a space in the name was messing up the search. That did not help either.

scottresnik avatar May 14 '15 12:05 scottresnik

Probably some logging in this class would help diagnosing the issue. https://github.com/ajermakovics/eclipse-instasearch/blob/master/instasearch/src/it/unibz/instasearch/indexing/querying/WorkingSetExpander.java If you don't mind doing some debugging in this class then it'd be possible to find the issue that way. Happy to give tips on that.

The WorkingSetExpander replaces the workspace name by with a list of projects. Does filtering by proj: work then?

ajermakovics avatar May 15 '15 16:05 ajermakovics