[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Searching for Packages fails to easily due to high number of results at http://packages.debian.org/search?keywords=search



Hi Simon,

On Sun, Jul 31, 2011 at 03:02:08PM +0200, Simon Paillard wrote:

> Which url is used ?
> http://packages.debian.org/search?keywords=linux-image for me displays
> 100
> first results.
>
> > Then i restrict my search by selecting an arch from the list below:
> > fails again with the same result.
>
> It's http://packages.debian.org/search?arch=i386&keywords=linux-image
> with the
> same kind of output.
>
> Could you please give me the URL you used ?
Hmm, i see, looks to me like 100 results are taken, and from those only
the ones matching the Suite and Arch are taken, instead of first
matching the
search string plus Suite plus Arch and afterwards taking 100.
My original search was after squeeze-backports, which always gave me 0
results, so the 3 URLS below describe this better:


http://packages.debian.org/search?suite=all&keywords=linux-image
100 results just like you had and as it should be.

http://packages.debian.org/search?suite=all&arch=i386&keywords=linux-image
17 results

http://packages.debian.org/search?suite=squeeze-backports&arch=i386&keywords=linux-image
gives me 0 results.

Certainly not what I would naively expect.

Cheers,

Florian

PS: Please CC me, as I'm not subscribed.


Reply to: