Bug 58700 - SearchEngine: option to turn off searching for inexact matches
Summary: SearchEngine: option to turn off searching for inexact matches
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 3.0 M9   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-15 13:58 EDT by Markus Keller CLA
Modified: 2004-05-18 13:22 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2004-04-15 13:58:57 EDT
The SearchEngine should offer an option to turn off searching for inexact matches.

Example:
Rename default accessible method add() to addThing(). Most of the processing
time is spent to search for inaccurate references to add() in the whole
workspace. This is completely unnecessary, since the refactoring should not
update inexact matches.

If an ONLY_EXACT_MATCHES flag could be set, the search scope would be restricted
to a small bunch of CUs. This would noticeably improve performance.
Comment 1 Philipe Mulet CLA 2004-04-15 18:27:01 EDT
The problem is that there is nothing which looks more like an accurate match 
than an inaccurate one. This means that we still need to locate a match before 
we decide it is accurate vs. inaccurate. So what you suggest wouldn't make any 
difference. 

BTW, refactoring should warn if coming across inaccurate matches. Not 
processing them is ok, but this is likely going to cause inconsistencies.