This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 137349 - [QuickSearch] Better sorting algorithm for providing results
Summary: [QuickSearch] Better sorting algorithm for providing results
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Quick Search (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Simonek
URL:
Keywords:
Depends on:
Blocks: 134398
  Show dependency tree
 
Reported: 2008-06-16 18:28 UTC by Ondrej Langr
Modified: 2008-12-22 11:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Langr 2008-06-16 18:28:50 UTC
Currently, when user types in just one letter (say "c"), all actions with letter "c" in their name are present. 

Expected behavior would be to offer first actions name of which STARTS with C, as these are tho most likely ones to be
selected. This applies generally, no matter how many letters have been typed.

In other words, results STARTING with the searched string should be first in the list of results.
Comment 1 David Simonek 2008-06-25 16:38:40 UTC
fixed in http://hg.netbeans.org/main/rev/2ac288b7a24a
Comment 2 Quality Engineering 2008-06-27 15:58:49 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #285 build
Changeset: http://hg.netbeans.org/main/rev/2ac288b7a24a
User: Dafe Simonek <dsimonek@netbeans.org>
Log: #137349: Actions which has typed text as prefix of their display name are returned first