search.cpan.org search oddness

2007-05-22 Thread Andy Armstrong
It's interesting how difficult it is to find CGI.pm using  
search.cpan.org. For example


http://search.cpan.org/search?query=CGImode=all

doesn't seem to mention CGI.pm at all.

Has it always been like that or has something changed recently?

--
Andy Armstrong, hexten.net



Re: search.cpan.org search oddness

2007-05-22 Thread A. Pagaltzis
* Andy Armstrong [EMAIL PROTECTED] [2007-05-22 20:30]:
 It's interesting how difficult it is to find CGI.pm using
 search.cpan.org.

Difficult?

http://search.cpan.org/search?query=CGImode=module

First hit.

I agree though that it’s weird that CGI.pm doesn’t show up at all
with `query=CGI;mode=all` (I checked).

It only shows up at #295 if you use `query=CGI;mode=dist`, but
shows up as the first hit for `query=CGI.pm;mode=dist`.

Taking a step back and looking at `query=CGI.pm;mode=all`, you’ll
see that the CGI::* modules in the CGI.pm-distro all show up at
pretty high spots.

Maybe search.cpan.org is biased against exact matches on modules
without `::` in their name, possibly in order to rank down
pragmata? I have no idea.

My educated guess is that if the CGI.pm distro was called CGI and
the summary mentioned CGI (eg. in parentheses behind the spelled-
out form), it would fare much better.

Regards,
-- 
Aristotle Pagaltzis // http://plasmasturm.org/


Re: search.cpan.org search oddness

2007-05-22 Thread Andy Armstrong

On 22 May 2007, at 20:08, A. Pagaltzis wrote:


* Andy Armstrong [EMAIL PROTECTED] [2007-05-22 20:30]:

It's interesting how difficult it is to find CGI.pm using
search.cpan.org.


Difficult?

http://search.cpan.org/search?query=CGImode=module


Difficult for people who aren't sure how the search interface works,  
certainly.


--
Andy Armstrong, hexten.net



Re: search.cpan.org search oddness

2007-05-22 Thread Andy Lester


On May 22, 2007, at 2:12 PM, Andy Armstrong wrote:


Difficult?

http://search.cpan.org/search?query=CGImode=module


Difficult for people who aren't sure how the search interface  
works, certainly.


Certainly I would expect to put CGI in the box and click search  
and get CGI.pm right away.  Law of least surprise and all that.


--
Andy Lester = [EMAIL PROTECTED] = www.petdance.com = AIM:petdance







Re: search.cpan.org search oddness

2007-05-22 Thread A. Pagaltzis
* Andy Armstrong [EMAIL PROTECTED] [2007-05-22 21:15]:
 On 22 May 2007, at 20:08, A. Pagaltzis wrote:
 Difficult?
 
 http://search.cpan.org/search?query=CGImode=module
 
 Difficult for people who aren't sure how the search interface
 works, certainly.

I do think `mode=module` should be the default. My own keyword
bookmark in Firefox uses that. The labels could be slightly more
descriptive, also.

* Andy Lester [EMAIL PROTECTED] [2007-05-22 21:45]:
 Certainly I would expect to put CGI in the box and click
 search and get CGI.pm right away. Law of least surprise and
 all that.

Well, for the reasons I gave in my mail, I think at least part of
the blame rests with CGI.pm rather than search.cpan.org.

Regards,
-- 
Aristotle Pagaltzis // http://plasmasturm.org/