Impossible to search word after apostrophe

Bug #746450 reported by Id2ndR on 2011-03-31
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Unity
Triaged
Medium
Unassigned
Unity Foundations
Medium
Unassigned
unity-2d
Undecided
Unassigned
unity-lens-applications
Medium
Unassigned
unity (Ubuntu)
Medium
Unassigned
unity-lens-applications (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: unity

STR:
- press Super-key
- look for "énergie" to find gnome-power-manager which is named "Gestionnaire d'énergie" in french => it won't works
- look for "d'énergie" => it will works

Related branches

Changed in unity-foundations:
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
importance: Undecided → Medium
status: New → Triaged
Changed in unity:
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
importance: Undecided → Medium
milestone: none → 3.8.4
status: New → Triaged
Changed in unity-place-applications:
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
importance: Undecided → Medium
milestone: none → 0.2.46
status: New → Triaged
Changed in unity (Ubuntu):
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
importance: Undecided → Medium
status: New → Triaged
Changed in unity-foundations:
milestone: none → unity-3.8.4
Didier Roche (didrocks) on 2011-04-05
Changed in unity-place-applications (Ubuntu):
status: New → Triaged

Unfortunately there doesn't seem to be an easy fix for this. I was hoping that we could simply enable Xapian's stemmer for the current locale so that words like "d'argent" would become "argent" etc. Maybe I just don't enough about French stemming, but the French stemmer in Xapian stems "d'argent" to "d'argent" so that doesn't give us much.

The solution could be to forego the locale-dependent stemming (like we already do) and add a custom stemmer that maps the pattern LETTER APOSTROPHE WORD to just WORD. I think this would solve this particular case, but could possibly break other languages (or other aspects of French?).

Changed in unity:
milestone: 3.8.4 → none
Changed in unity-foundations:
milestone: unity-3.8.4 → none
Changed in unity-place-applications:
milestone: 0.2.46 → none
affects: ubuntu-translations → null
Didier Roche (didrocks) on 2011-05-31
Changed in unity-2d:
status: New → Triaged
Didier Roche (didrocks) on 2011-09-30
Changed in unity-lens-applications (Ubuntu):
status: New → Triaged
Curtis Hovey (sinzui) on 2011-11-11
no longer affects: null
Omer Akram (om26er) on 2012-08-19
no longer affects: unity-place-applications (Ubuntu)
tags: added: scopes-s
Changed in unity:
assignee: Mikkel Kamstrup Erlandsen (kamstrup) → nobody
Changed in unity-foundations:
assignee: Mikkel Kamstrup Erlandsen (kamstrup) → nobody
Changed in unity-lens-applications:
assignee: Mikkel Kamstrup Erlandsen (kamstrup) → nobody
Changed in unity (Ubuntu):
assignee: Mikkel Kamstrup Erlandsen (kamstrup) → nobody
Changed in unity-2d:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers