Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706260 - packages.gentoo.org: search engine don't actually find anything
Summary: packages.gentoo.org: search engine don't actually find anything
Status: RESOLVED FIXED
Alias: None
Product: Websites
Classification: Unclassified
Component: Packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Packages Website
URL: https://packages.gentoo.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-24 20:17 UTC by Arnaud Vallette d'Osia
Modified: 2020-09-09 13:09 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arnaud Vallette d'Osia 2020-01-24 20:17:01 UTC
search engine don't actually find anything

Reproducible: Always

Steps to Reproduce:
1. go to URL https://packages.gentoo.org/
2. search for instance "youtube"


Actual Results:  
search engine won't even find youtube-dl

Expected Results:  
at least show matching results, added points for fuzzy search.
Comment 1 Max Magorsch (RETIRED) Gentoo Infrastructure gentoo-dev 2020-01-24 21:46:41 UTC
Thank you for the report. The search behaviour has already been fixed in [1].

It's just not deployed yet. But I can confirm, that searching for "youtube" returns youtube-dl, when using the fix from [1]. 

Fuzzy search might be an idea for the future. We might give Elasticsearch's fuzzy query a try. 

[1] https://gitweb.gentoo.org/sites/packages.git/commit/?h=dev/main&id=110baa8b1c5c919f6a4459f636772fe9e6fc96f9
Comment 2 Michael 'veremitz' Everitt 2020-01-25 19:06:23 UTC
Can you push to packagestest.g.o please Max?
Comment 3 Max Magorsch (RETIRED) Gentoo Infrastructure gentoo-dev 2020-01-27 03:17:55 UTC
Sorry Michael, I for one cannot deploy to packagestest.g.o. But I've passed it on.
Comment 4 Alec Warner (RETIRED) archtester gentoo-dev Security 2020-01-28 06:24:27 UTC
(In reply to Max Magorsch from comment #3)
> Sorry Michael, I for one cannot deploy to packagestest.g.o. But I've passed
> it on.

I've merged all your work into main but we need to update to ruby-2.5, so I'm doing that before proceeding with the deploy.

-A
Comment 5 Adam Purkrt 2020-04-05 06:44:00 UTC
Hello, hit this today while searching for "DBD-Pg". It does not find anything, even though there is https://packages.gentoo.org/packages/dev-perl/DBD-Pg

Btw the title of this bug should probably contain "packages.gentoo.org" somehow, so that it is clear what it is about. Something like "packages.gentoo.org: search fails" would be probably more appropriate.
Comment 6 Arnaud Vallette d'Osia 2020-04-05 09:11:19 UTC
right
Comment 7 Max Magorsch (RETIRED) Gentoo Infrastructure gentoo-dev 2020-04-05 20:52:16 UTC
Apparently this does work for other packages, while it doesn't work for DBD-Pg. I will dig into this further.
Comment 8 Max Magorsch (RETIRED) Gentoo Infrastructure gentoo-dev 2020-09-09 13:09:42 UTC
This should have been fixed some time ago since we use the new search algorithm. Thus I'm going to close this bug. Please don't hesitate to let us know if you still encounter any problems.