Bug 216926 - [search] Search for LinkDescription yielding inaccurate matches.
Summary: [search] Search for LinkDescription yielding inaccurate matches.
Status: CLOSED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P5 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2008-01-29 11:16 EST by Pash CLA
Modified: 2020-03-06 16:20 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pash CLA 2008-01-29 11:16:41 EST
Build ID: Eclipse 3.4

Steps To Reproduce:
1. Import org.eclipse.core.resources plugin as project with source.
2. Perform a search for "org.eclipse.core.internal.resources.LinkDescription" using SearchEngine.search(..)
3. Review the results received in the search requestor's acceptSearchMatch(..).
4. For the matches found, match.getAccuracy() returns "inaccurate" in all but 2 cases (LinkDescription and FileSystemResourceManager).

More information:
Search workspace for all references to LinkDescription and you'll find there are many more in the org.eclipse.core.internal.resources package.
Comment 1 Frederic Fusier CLA 2008-02-06 03:05:53 EST
I'm not sure to really understand the problem. Can you give me a code snippet including the call to SearchEngine.search(...) to have a precise idea of what are the parameters value and also the requestor you use to highlight the problem?

A JUnit test I can include in org.eclipse.jdt.core.tests.model.JavaSearchBugsTests directly would be, of course, the best thing which could help me to quickly investigate your problem :-)

Thanks
Comment 2 Eclipse Genie CLA 2020-03-06 16:20:27 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.