Searching for "python-" returns no results

Bug #852039 reported by Matthew Paul Thomas
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Ubuntu Software Center 4.1.23.2, Ubuntu 11.10 beta 1
Ubuntu Software Center 5.1.14.1, Ubuntu Precise Beta 2

1. From the home screen, search for "python-".

What happens: No results.
What should happen: Hundreds of results.

Tags: db
Changed in software-center (Ubuntu):
importance: Undecided → Medium
Robert Roth (evfool)
Changed in software-center (Ubuntu):
status: New → Confirmed
Kiwinote (kiwinote)
tags: added: db
Revision history for this message
Gary Lasker (gary-lasker) wrote :

I verified that this is still an issue in Ubuntu Software Center 5.1.14.1, Ubuntu Precise Beta 2.

description: updated
Revision history for this message
Michael Vogt (mvo) wrote :

This is releated to:
http://trac.xapian.org/ticket/128

The problem is that the "-" has a special meaning in the xapian query parser.

Revision history for this message
Michael Vogt (mvo) wrote :

We may get aways with:
- search_term = search_term.replace('-', '_')
+ search_term = search_term.replace('-', '\-')
in softwarecenter/db/database.py but we will also need to update db/update.py as this is doing the same (which is inconsistent with what a-x-i is doing which is why we have this bug).

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.