Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 356624

Summary: [Help][Search] "Did you mean: ..."
Product: [Eclipse Project] Platform Reporter: Holger Voormann <eclipse>
Component: User AssistanceAssignee: platform-ua-inbox <platform-ua-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: ChrisAustin, john.arthorne
Version: 3.7.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: stalebug

Description Holger Voormann CLA 2011-09-02 12:28:48 EDT
In the Eclipse help system, if there is a typo in the query nothing will be found, for instance nothing will be found for "Runing external tool" ("n" instead of "nn"): <http://help.eclipse.org/indigo/index.jsp?tab=search&searchWord=Runing%20external%20tool>.

It would be nice to have something like Google's "Did you mean" feature: <http://www.google.com/search?q=Runing%20external%20tool> to get a hint if the query probably contains a typo.
Comment 1 Chris Austin CLA 2011-09-02 13:09:47 EDT
This functionality can be achieved using the new search processor extension point added in 3.7 - see Bug 320669 for details.

To implement a 'did you mean' type effect, you would need to have a dictionary of terms available to compare against, and then you could use the search processor to suggest alternate terms.
Comment 2 John Arthorne CLA 2011-09-02 13:34:14 EDT
Lucene 3.x has support for this:

http://wiki.apache.org/lucene-java/SpellChecker
Comment 3 Holger Voormann CLA 2011-09-02 13:46:54 EDT
(In reply to comment #1)

The dictionary could be build of indexed words.

See also https://github.com/hkirk/lucene-didyoumean
Comment 4 Lars Vogel CLA 2019-11-14 03:37:42 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.

If you have further information on the current state of the bug, please add it. 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.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.