Re: Categorizing search results
| From: | Stewart Lord | Date: | Wed, 29 Dec 2010 20:09:59 +0000 |
| Subject: | Re: Categorizing search results | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-9956@lists.php.net to get a copy of this message | ||
On 2010-12-29, at 3:40 AM, Hannes Magnusson wrote:
> Hi
>
> I've looked into improving the search to also provide categorization
> and descriptions.
> ...
> I killed the actual order-by-score, and also lowered the minScore
> value (didn't work so great for long function/variable names where you
> typed only few characters..). That should probably be updated if we
> decide to commit this.
> ...
> What do you guys think, is it worth perusing?
> Its not searching in the descriptions.. Unsure if its worth it..
Wow! I should have looked at this before my previous response. I applied your patch. Cool stuff! I
think this is worth pursuing. Not too sure where it sits in terms of priority though. There is a
fair bit more work here.
If I search for 'str', I no longer see the matching str* functions first. It is not
obvious how to determine the most relevant results. By grouping them into categories we are forced
into putting lower scoring matches before higher scoring matches in a different category. What do
you think about my poor-man's categorization?
...I think there is also the risk of hitting the user with too much information and visual noise.
Regarding the option in my.php, it's not something I would use. I suspect that most users would
just go with the default.
Stew