Impossible to search word after apostrophe

Bug #746450 reported by Id2ndR
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Unity
Triaged
Medium
Unassigned
Unity Foundations
Triaged
Medium
Unassigned
unity-2d
Invalid
Undecided
Unassigned
unity-lens-applications
Triaged
Medium
Unassigned
unity (Ubuntu)
Triaged
Medium
Unassigned
unity-lens-applications (Ubuntu)
Triaged
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

Tags: scopes-s

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
Changed in unity-place-applications (Ubuntu):
status: New → Triaged
Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

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
Changed in unity-2d:
status: New → Triaged
Changed in unity-lens-applications (Ubuntu):
status: New → Triaged
Curtis Hovey (sinzui)
no longer affects: null
Omer Akram (om26er)
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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