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

improve search #2

Open
4 tasks
frasertweedale opened this issue Feb 5, 2021 · 0 comments
Open
4 tasks

improve search #2

frasertweedale opened this issue Feb 5, 2021 · 0 comments

Comments

@frasertweedale
Copy link
Member

frasertweedale commented Feb 5, 2021

This will probably become a meta-issue, but we should discuss, agree, and record high-level objectives for search improvements in this issue.

As a starting point for the discussion, consider that a search for "json" has aeson at #4 and waargonaut not even in the top 100. We might expect an improved algorithm to return aeson as the top result, and waargonaut at least in the top 10. By recent downloads, of dedicated JSON libraries aeson is # 1, json is # 2 and waargonaut is # 3.

Note that tags are currently not considered in the search. Tags should probably hold significant sway. We may need to tweak the weightings of other search criteria too.

Another observation: deprecated packages can rank very highly. For example, the search "email" yields the top result email, which is deprecated. This is problematic.

So, some very high level, initial objectives:

  • tags considered in search (leading to better results)
  • deprecated packages are penalised in search results

Please suggest specific search terms and the desired outcomes. Where there is consensus, we will add them to this list:

  • "json" -> aeson, waargonaut in top results
  • "email" -> email (deprecated) not in top results
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

1 participant