We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The closest I've been able to get is with sort=rating:desc http://npmsearch.com/query?q=async&fields=name,description,version,keywords,homepage&size=15&sort=rating:desc, but if you compare the results with http://npmsearch.com/?q=async, the site search returns much better results.
sort=rating:desc
How are searches sorted by the site? Thanks
The text was updated successfully, but these errors were encountered:
It seems like keywords are being weighted more than the actual package name?
Sorry, something went wrong.
in server.js I see the request body is
server.js
var body = { fields: ['name','description','keywords','author','modified','homepage','version','license','rating'], query: search, sort: [{'rating' : "desc"}], highlight: { fields: { description : {} } } };
but I'm not seeing the difference still
No branches or pull requests
The closest I've been able to get is with
sort=rating:desc
http://npmsearch.com/query?q=async&fields=name,description,version,keywords,homepage&size=15&sort=rating:desc, but if you compare the results with http://npmsearch.com/?q=async, the site search returns much better results.
How are searches sorted by the site?
Thanks
The text was updated successfully, but these errors were encountered: