Apps place indexes stopwords

Bug #730481 reported by Mikkel Kamstrup Erlandsen
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity
Invalid
Low
Mikkel Kamstrup Erlandsen
unity-2d
Expired
Low
Unassigned
unity-lens-applications
Invalid
Low
Mikkel Kamstrup Erlandsen
unity (Ubuntu)
Invalid
Low
Mikkel Kamstrup Erlandsen
unity-lens-applications (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

The menu indexer in unity-place-applications does not filter out stopwords. This means that searching for "to" does *not* make Tomboy the first hit as you would expect, but any app which has the word "to" in it's Comment field will score very high because there is an exact term-match.

Tags: patch scopes-s
Changed in unity-place-applications:
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

I played around with the stopword filtering build into xapian, but it didn't turn out very well. Xapian first of all only calls the Stopper if there is also a Stemmer installed - and a no-op stemmer doesn't seem to satisfy this.

Next and bigger problem is that Xapian still indexes the unstemmed form of the stopwords meaning that the query for 'to' still scores the sentence "In order to work..." higher than "Tomboy".

I've tweaked the rankings a bit to solve this with pure ranking - but keeping this bug open since we might as well get the stopwords working at some point.

Changed in unity:
status: New → Triaged
Changed in unity-place-applications (Ubuntu):
status: New → Triaged
tags: added: patch
Changed in unity-place-applications:
importance: Medium → Low
Changed in unity:
importance: Undecided → Low
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
Changed in unity-place-applications (Ubuntu):
importance: Undecided → Low
Changed in unity-2d:
status: New → Triaged
Changed in unity-2d:
importance: Undecided → Low
Changed in unity-lens-applications (Ubuntu):
status: New → Triaged
Omer Akram (om26er)
no longer affects: unity-place-applications (Ubuntu)
tags: added: scopes-s
Changed in unity (Ubuntu):
status: New → Confirmed
Revision history for this message
Andrea Azzarone (azzar1) wrote :

Is this still an issue?

Changed in unity:
status: Triaged → Incomplete
Changed in unity-2d:
status: Triaged → Incomplete
Changed in unity-lens-applications:
status: Triaged → Incomplete
Changed in unity (Ubuntu):
status: Confirmed → Incomplete
Changed in unity-lens-applications (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for unity-2d because there has been no activity for 60 days.]

Changed in unity-2d:
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for unity (Ubuntu) because there has been no activity for 60 days.]

Changed in unity (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for unity-lens-applications (Ubuntu) because there has been no activity for 60 days.]

Changed in unity-lens-applications (Ubuntu):
status: Incomplete → Expired
Changed in unity (Ubuntu):
status: Expired → Incomplete
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
importance: Undecided → Low
Andrea Azzarone (azzar1)
Changed in unity:
status: Incomplete → Invalid
Changed in unity-lens-applications:
status: Incomplete → Invalid
Changed in unity (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.