Improve docs search with fuzzy matching and smart navigation#2377
Open
satyansh2004 wants to merge 1 commit intoHeyPuter:mainfrom
Open
Improve docs search with fuzzy matching and smart navigation#2377satyansh2004 wants to merge 1 commit intoHeyPuter:mainfrom
satyansh2004 wants to merge 1 commit intoHeyPuter:mainfrom
Conversation
Collaborator
|
hi @satyansh2004 , thank you for the PR |
Author
|
Thanks for reviewing this. Happy to make any changes if you find issues during testing. |
reynaldichernando
requested changes
Feb 1, 2026
Collaborator
reynaldichernando
left a comment
There was a problem hiding this comment.
hi @satyansh2004 , thank you for the PR, i have done testing, and found some issues:
- text fragment matching broken
- the change removed our existing custom text fragment matching logic, where it allows it to detect position of the keyword if there are duplicates around
- we are using prefix and suffix to detect this
- it doesn't jump to the nearest subheading with fuzzy search
- autocomplete is broken
- it doesn't show either the fuzzy match or the exact match highlight
let me know if you need any clarification for these
Author
|
ok, I will resolve these issues asyou described here as soon as possible |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR improves the docs search UX by replacing exact string matching with
Fuse.js-based fuzzy search.
Fixes #2362