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

"Search for module" cannot return correct result #53

Open
wondfor opened this issue Feb 2, 2023 · 1 comment
Open

"Search for module" cannot return correct result #53

wondfor opened this issue Feb 2, 2023 · 1 comment

Comments

@wondfor
Copy link

wondfor commented Feb 2, 2023

image
When I use the search for module with “rules_cc”,it show me all the ruels_*

@hobofan
Copy link
Member

hobofan commented Feb 2, 2023

I'm not sure if there is much we can do here. "rules_cc" is correctly prioritized as the first search hit, and the remaining search hits contain most of the search query. For "rules_" with a short suffix like "cc", this is unavoidable.

There probably is some dial we can turn to make it a bit more strict, though. Right now a query for "rules_apple" will not only yield "rules_apple" and "rules_apple_linker", but also some more packages, even though that should be a distinctive enough suffix.

One thing that could be considered here is changing the layout so that it's a clear top-to-bottom list, but that wouldn't change anything about the hits listed.

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

No branches or pull requests

2 participants