Full-text searches require ranking.

Bug #1022 reported by Brad Bollenbach
8
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Unassigned

Bug Description

Full-text searches require ranking of the results; the report below exemplifies why it is important.

I went to:

    https://launchpad.ubuntu.com/people

to search for a team.'Ubuntu GNOME Team' is the second-last result.

I went to:

    https://launchpad.ubuntu.com/people

to search for a team; the Ubuntu GNOME team. I typed in 'ubuntu gnome team', used "both" as my "Search for:" option and saw two pages of search results come back, of which Ubuntu GNOME Team was the second last result on the last page of search results.

I would expect this to have been the very first result that came back.

Stuart Bishop (stub)
Changed in foaf:
assignee: nobody → stub
status: New → Accepted
Changed in launchpad:
milestone: none → <Milestone at 0x9d433cc>
Revision history for this message
Christian Reis (kiko) wrote :

This is also a problem while searching through products: if you search products for "gnome" the first hit is "Ubuntu" (which doesn't even contain gnome in its title or summary).

summary: + Full-text searches require ranking of the results; the report below
+ exemplifies why it is important.
+
I went to:

https://launchpad.ubuntu.com/people

- to search for a team; the Ubuntu GNOME team
+ to search for a team.'Ubuntu GNOME Team' is the second-last result.
Revision history for this message
Stuart Bishop (stub) wrote :

Some documentation on obtaining ranked results has been added to lib/canonical/launchpad/doc/textsearching.txt

Revision history for this message
Diogo Matsubara (matsubara) wrote :

The same search now displays only one result.

Revision history for this message
Christian Reis (kiko) wrote :

For the original problem, yes. It depends on whether we should make this a more general bug -- which I'm not sure about. My comment above still holds true, though: searching for gnome products returns Ubuntu.

Revision history for this message
Jeff Bailey (jbailey) wrote :

This is currently targetted at "future", can this be reconsidered?

https://launchpad.net/distros/ubuntu/+search?text=locales

Is an example of a search for which the correct exact match response isn't even in the first page.

Tks,
Jeff Bailey

Revision history for this message
Francis J. Lacoste (flacoste) wrote :

We have the infrastructure in place for this now. It's just a matter of using it in the bugs search (similarity search already use it).

Changed in launchpad:
assignee: stub → nobody
Revision history for this message
Francis J. Lacoste (flacoste) wrote :

Actually, this bug was about the project registry, which has been using ranking for a while.

Changed in malone:
status: Confirmed → Fix Released
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.