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

Better sorting #60

Open
yamalight opened this issue Apr 26, 2017 · 2 comments
Open

Better sorting #60

yamalight opened this issue Apr 26, 2017 · 2 comments

Comments

@yamalight
Copy link

Current sorting seems a bit off.
E.g. searching "express" (by clicking on example on home page) returns "ifade" as top result. I assume because it has "Expressions" in its description.
What I'd expect/want to see when I search for "express" is express.js itself on top + all the relevant express-* modules (so, primary sort by title string matching should work here), which are then sorted by e.g. popularity + latest update.
Does this makes sense?

@joemccann
Copy link

Thanks @yamalight! We'll look into it

@ngokevin
Copy link

I've been having the same experience. The results are returning queries in unpredictable order. A search query that is a part of a package name won't return the package name. Are there any additional tips on fine-tuning the search queries? npmsearch.com itself has predictable results, how can we achieve the same from the CURL API?

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

3 participants