Incomplete search results

Bug #731193 reported by Andrea Carpineti
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: software-center

Adding more letters to a search increases the number of results, which (I think) should never happen.
I discovered the issue trying to install the texlive package and I use it as an example, but the problem is more general. For example using the search string:
- 'texl' or 'texli' or 'texliv' the only result is 'Therion Cave Survey Software' (1 result)
- 'texlive' the results are 'Texlive' and 'Therion Cave Survey Software' (2 results)
- 'texlive-' the results are a lot of packages (part of texlive-full...) (92 results)

Like we can infer from the above examples the problem is also that the showed results are incomplete. Searching for 'texliv' should show also the 'texlive' package and probably the texlive-(...) packages.
This issue had been also discussed at https://answers.launchpad.net/ubuntu/+source/software-center/+question/148153

summary: - Incomple search results
+ Incomplete search results
Robert Roth (evfool)
Changed in software-center (Ubuntu):
status: New → Confirmed
Revision history for this message
Matthew Paul Thomas (mpt) wrote :

In software-center trunk r2338, I get these results:
"t" - about 7700 results
"te" - about 6000
"tex" - about 2400
"texl" - 102
"texli" - 102
"texliv" - 102
"texlive" - 102
"texlive-" - 92

So this bug looks fixed to me. Please reopen the report if you have another example.

Changed in software-center (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Byron Hawkins (bhron) wrote :

Searching for libgtk2.0-dev does not work with seemingly near matches. I tried:

"libgtk 2 dev"
"libgtk 2"
"lib gtk dev"
"gtk dev 2"

and many similar combinations. All technical items are showing, yet this library did not show up until I searched for its exact name (which I found on google).

The test mentioned in #1 here is not a very thorough case, and does not apply to the situation I am reporting here. Each word in the search term needs to be applied in a separate search pass, with all results aggregated together. In each search pass, the search word needs to be matched against the entire package name. Matches should be accepted at the start or end of the package name, and also anywhere in the middle. Given these changes, any of my search attempts would have returned libgtk2.0-dev.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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