composer / packagist

Package Repository Website - try https://packagist.com if you need your own -
https://packagist.org/
MIT License
1.75k stars 475 forks source link

Order results by number or downloads or stars. #818

Open emil-nasso opened 7 years ago

emil-nasso commented 7 years ago

I am fairly certain that you could order search results by number of downloads and by number of github starts before.

Is there a way to reintroduce that feature? If I search for swagger (just as an example) I get results that are very relevant (popular projects with many downloads) on page two and three.

An alternative would be to always sort the results by number of downloads.

stof commented 7 years ago

See https://github.com/composer/packagist/pull/813 for the work on improving search relevancy for the new search system

Seldaek commented 7 years ago

Merged the other PR, hopefully things are better now?

arcticlinux commented 5 years ago

Example, I'm looking at https://packagist.org/packages/webmozart/assert and wondering how this package has 80 million installs, took me until page 10 of the dependants page to find that it is used by phpdocumentor/reflection-docblock

stof commented 5 years ago

@arcticlinux the dependant list is not related to the search system.

arcticlinux commented 5 years ago

@stof will try to find if someone has an open issue. I see the search is coming out of Algolia.

stof commented 5 years ago

yes, the search is from Algolia now. The dependant list is not.

j13k commented 5 years ago

Recent discussion has been about the dependants list, but getting back to the original issue, the main package search still doesn't allow sorting.

zonky2 commented 5 years ago

hmm ...?? I can't find anything to sort on the site https://packagist.org/

I would like to sort by