Re: Categorizing search results

From: Date: Wed, 29 Dec 2010 22:15:33 +0000
Subject: Re: Categorizing search results
References: 1 2 3  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-9959@lists.php.net to get a copy of this message
Hi, On 29 December 2010 21:30, Hannes Magnusson <hannes.magnusson@gmail.com> wrote: > Yeah.. The ranking is a PITA with categorizing. We could still sort the hits per-category by ranking, but which category should be first? > - Whoever has the best match? > Then the order would change on every keystroke, making it quite confusing to quickly select an item > - Fixed category order > Wouldn't list the best match first.. > > I think people would typically write the entire function name into the search, and simply treat it as php.net/<lookup>, and/or maybe to get a list of functions in an extension or methods of a class.. then select whatever they were looking for. I don't know what sort of stats tracking is used on php.net but the most obvious thing to me is to order the results by page views - thus if I type "str_" I'd expect "str_replace" to be above "str_pad" and "str_rot13" for example (that's a guess of course; perhaps str_pad is looked at more). -- Ross Masters

« previous php.webmaster (#9959) next »