Skip to content
This repository was archived by the owner on Aug 18, 2021. It is now read-only.
This repository was archived by the owner on Aug 18, 2021. It is now read-only.

Search results don't always match search term #249

@froi

Description

@froi

Describe the bug
For example, if you search for APOD API you get a ton of results (presumably because 'api' is in the term), however you won't find APOD API, at least not on the first page. If you search for just APOD then you will get APOD API and its the only result.

If a search term is an exact match with a project name, then that project should show up first even over projects with higher data quality scores.

To Reproduce

  • Execute any search on the Code.gov site for code-gov-api.
  • Execute API search https://api.code.gov/repos?q=code-gov-api

Expected behavior
Searching for code-gov-api should have the project by that name be the first result.

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