Skip to content

Ordering of search auto-suggestions #6

@rsimon

Description

@rsimon

At the moment, auto-suggestions are matching words pulled from the first N matching result records. This sometimes leads to unexpected words ranking on top. E.g. (taken from the VisitPlus dataset):

  • "ca" -> "calshot", "castle", "camber"

castle would be the most common & intuitive suggestion. However calshot ranks higher, probably because "Calshot castle" comes up as the highest scored record in the ca search.

We could think about re-scoring suggestions based on the number of matches they would produce as a search result. This would be an extra step, and require one follow-up search per suggestion each. But if we do it, we would get castle as the highest ranked suggestions, because it produces 1k+ results as a search, while calshot only produces one 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