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

Ordering of search auto-suggestions #6

Open
rsimon opened this issue Jun 8, 2022 · 0 comments
Open

Ordering of search auto-suggestions #6

rsimon opened this issue Jun 8, 2022 · 0 comments

Comments

@rsimon
Copy link
Collaborator

rsimon commented Jun 8, 2022

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.

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