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

!mdn sometimes misses the mark #62

Open
vcarl opened this issue May 6, 2020 · 1 comment
Open

!mdn sometimes misses the mark #62

vcarl opened this issue May 6, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@vcarl
Copy link
Member

vcarl commented May 6, 2020

Querying !mdn array filter returns the top-level Array documentation as the first result, to get the filter docs it needs to be !mdn array.filter. We might be able to improve this by using a string similarity tool to rank page titles, instead of naively grabbing [0]

@vcarl
Copy link
Member Author

vcarl commented May 6, 2020

Previously we were using fuse.js to do fuzzy search. We could also probably use string-similarity to rank them

@nickserv nickserv added the enhancement New feature or request label Nov 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants