lp://qastaging/~kamstrup/unity-lens-applications/relevancy

Created by Mikkel Kamstrup Erlandsen and last modified
Get this branch:
bzr branch lp://qastaging/~kamstrup/unity-lens-applications/relevancy
Only Mikkel Kamstrup Erlandsen can upload to this branch. If you are Mikkel Kamstrup Erlandsen please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Mikkel Kamstrup Erlandsen
Project:
unity-lens-applications
Status:
Merged

Recent revisions

158. By Mikkel Kamstrup Erlandsen

Tweak rankings to rank the Comment field way lower than the Name, Generic name, or Exec fields. This fixes the query 'to' to match Tomboy before LibreOffice.

157. By Mikkel Kamstrup Erlandsen

Cap search results for Available apps to 20 for global search and 60 for entry search. The idea being that the new relevancy based ranking should make huge result sets superflouos

(fix regression from master) : Only update search results if the search string has actually changed

156. By Mikkel Kamstrup Erlandsen

Greatly simplify the code paths for entry- and global search modes. This is quite a big refactoring, but really mostly paste-works. It allows us to experiement with result dispatching and result sorting much better than the old code layout.

Remove some very old outcommented snippets of code

155. By Mikkel Kamstrup Erlandsen

Make all searches relevancy sorted in stead of alphabetically sorted. We only use alphabetic sorting when we don't have a search now.

This change has a rather big code footprint because it means we can no longer meaningfully do incremental narrowing down of the result set when the user types. - Relevancy ranking means that results for "c", "ca", "cal", and "calc" all sort differently. This allows us to remove a big chunk of complex logic that was related to these so-called "filter searches"

154. By Mikkel Kamstrup Erlandsen

Remove a set of Exclude directives from the menu definition that where leftovers from our netbook days

153. By Mikkel Kamstrup Erlandsen

Make searches for Installed apps *very* much faster. We do this by leveraging the new method on DeeSharedModel from lp:dee trunk, dee_shared_model_flush_revision_queue(). See the code comment for details. This bumps the Dee dep to 0.5.11.

152. By Mikkel Kamstrup Erlandsen

Make the strings for empty sections translation friendly

151. By Mikkel Kamstrup Erlandsen

The Xapian query parser seems to handle hyphens in a special way, namely that it forces the joined tokens into a phrase query no matter if it appears as the last word in a query and we have the PARTIAL flag set on the query parser. This makes 'd-f' not match 'd-feet' etc. So we convert all hyphens in a query into whitespace before sending it to Xapian.

150. By Mikkel Kamstrup Erlandsen

Use Xapian::QueryParser::FLAG_PARTIAL to simplify query construction and prefix matching

149. By Didier Roche-Tolomelli

removing dbusmenu as it's libunity leaking the API

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://qastaging/unity-lens-applications
This branch contains Public information 
Everyone can see this information.