Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335348 - [Help][Search] searchProcessor extension point can show duplicates in alternate expression
Summary: [Help][Search] searchProcessor extension point can show duplicates in alterna...
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: User Assistance (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: 3.7 M6   Edit
Assignee: Chris Austin CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-25 12:16 EST by Chris Goldthorpe CLA
Modified: 2011-02-01 12:36 EST (History)
0 users

See Also:


Attachments
Patch to remove duplicate search expressions and sort alphabetically (2.54 KB, patch)
2011-02-01 12:29 EST, Chris Austin CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Goldthorpe CLA 2011-01-25 12:16:18 EST
I20110124-1345

Create two extensions using the org.eclipse.help.base.searchProcessor extension point, both of which make return the same alternate term. That alternate term appears twice in the results, it would be better to remove duplicates.
Comment 1 Chris Austin CLA 2011-02-01 12:29:32 EST
Created attachment 188065 [details]
Patch to remove duplicate search expressions and sort alphabetically

This patch does not add a term if it is already in the list.  Also, I added a sort so that the remaining terms are easily viewed alphabetically.
Comment 2 Chris Austin CLA 2011-02-01 12:33:55 EST
Patch committed to HEAD.
Comment 3 Chris Austin CLA 2011-02-01 12:36:40 EST
Resolved.