Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 52683

Summary: when searching, packages containing a search term in the name aren't favoured
Product: Gentoo Infrastructure Reporter: Rob Holland <tigger>
Component: [OLD] gpackagesAssignee: Albert Hopkins (RETIRED) <marduk>
Status: RESOLVED INVALID    
Severity: normal CC: klieber
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Rob Holland 2004-06-01 06:53:33 UTC
I think when searching for 'apache', net-www/apache should be the first hit, and other packages with apache in the name should come next, follow by mod_* which just have it in their description.
Comment 1 Kurt Lieber (RETIRED) gentoo-dev 2004-06-01 06:58:25 UTC
not sure what searching algorithm we're using.

marduk?
Comment 2 Albert Hopkins (RETIRED) gentoo-dev 2004-06-01 08:06:32 UTC
The search is made pretty much the same as the -s and -S flags in the emerge command.  All searches are regular expressions.  So even doing an "emerge -S apache" the apache package shows up 8th or so.  If you are, for example,  specifically looking for the "apache" package, then your search string would be "^apache$"