Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An exact match with the package name should be shown first #7938

Open
Meai opened this issue Aug 15, 2024 · 3 comments
Open

An exact match with the package name should be shown first #7938

Meai opened this issue Aug 15, 2024 · 3 comments

Comments

@Meai
Copy link

Meai commented Aug 15, 2024

Search for the stream_channel package on pub.dev: https://pub.dev/packages?q=stream_channel

Package named stream_channel is only the 4th result, it should be the first result:

image

@sigurdm
Copy link
Contributor

sigurdm commented Aug 15, 2024

Somewhat conflicting with #7872

I repeat my suggestion that we show exact matches separately from the list of results.
image

@isoos
Copy link
Collaborator

isoos commented Aug 15, 2024

While #7872 is related, I don't think it is in conflict with this. Like, #7876 improved on the bluetooth query, but in the stream_channel case we have low-score hits as well. Maybe instead of the average, we just compare the top value against the SDK hits?

@isoos
Copy link
Collaborator

isoos commented Aug 21, 2024

Note: with the latest change in #7943 the services SDK library is out, so there is a small win there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants