I just published a new package with the name minime/annotations. When I search the exact same package name it appears as the last result (pagination 9).
My general point is: I am searching an exact vendor/package-name and if there is a match, it should appear at first place, followed by the partial matched packages. What happens is exactly the opposite in most cases.
A simple search for the term minime should already bring the mentioned package as a first result since there is no other package with this vendor name, neither with this exact string in package description.
So I think a better way to order results would be:
show literal matches ordered by download count, stars and other stats
show partial matches ordered by download count, stars and other stats
I understand that package quality is very important and listing popular packages first is a great idea. But literal match should have priority for packagist search engine since publication is based on vendors + package names as package unique identifiers.
I just published a new package with the name
minime/annotations
. When I search the exact same package name it appears as the last result (pagination 9).My general point is: I am searching an exact vendor/package-name and if there is a match, it should appear at first place, followed by the partial matched packages. What happens is exactly the opposite in most cases.
A simple search for the term
minime
should already bring the mentioned package as a first result since there is no other package with this vendor name, neither with this exact string in package description.So I think a better way to order results would be:
I understand that package quality is very important and listing popular packages first is a great idea. But literal match should have priority for packagist search engine since publication is based on vendors + package names as package unique identifiers.