Skip to content

improve search #2

@frasertweedale

Description

@frasertweedale

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions