Review Request: Adaptive Search for KRunner
Ryan Bitanga
ryan.bitanga at gmail.com
Wed May 13 19:52:19 CEST 2009
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/694/
-----------------------------------------------------------
(Updated 2009-05-13 10:52:19.305291)
Review request for Plasma.
Changes
-------
restore/saveLaunchCounts -> restore/save
Summary
-------
This enables adaptive search for KRunner by tracking user behavior in terms of programs run, documents opened, etc. via KRunner. It boosts relevance of a match whenever a user runs that match, allowing the match to appear before other matches obtained of similar nature as long as the front-end correctly sorts the matches.
For example, running a query of "kon" on the services runner may result in matches for Konqueror and Konsole. Both matches will have a relevance of 1.3, but Konqueror will appear before Konsole. If a user launches Konsole via KRunner at least one time more than Konqueror, Konsole will have its relevance boosted and will appear before Konqueror in the list of matches.
This partially addresses bug #180158. The other part (changes to quicksand) will be committed soon.
Diffs (updated)
-----
/trunk/KDE/kdelibs/plasma/querymatch.cpp 967300
/trunk/KDE/kdelibs/plasma/runnercontext.h 967300
/trunk/KDE/kdelibs/plasma/runnercontext.cpp 967300
/trunk/KDE/kdelibs/plasma/runnermanager.cpp 967300
Diff: http://reviewboard.kde.org/r/694/diff
Testing
-------
Thanks,
Ryan
More information about the Plasma-devel
mailing list