HackerTrans
TopNewTrendsCommentsPastAskShowJobs

kmschaal

no profile record

Submissions

Show HN: Claude Code generated a tip that looks like an ad

2 points·by kmschaal·hace 4 meses·2 comments

Show HN: Front End Fuzzy and Substring and Prefix Search

github.com
56 points·by kmschaal·hace 9 meses·4 comments

comments

kmschaal
·hace 4 meses·discuss
Tested it and you are right, thanks for the clarification.
kmschaal
·hace 8 meses·discuss
OP here, I wanted to add one technical note I forgot to mention in the post.

The prefix search uses the same suffix array as the substring search. This approach might also be useful for other search libraries that rely on suffix arrays. It can improve the search experience with minimal additional effort.

Happy to discuss the implementation details if anyone’s curious!
kmschaal
·hace 8 meses·discuss
μFuzzy has a great comparison project that could serve as a reference for all fuzzy search implementations. My fuzzy searcher (v1) is already included and will soon be updated to v2 (PR is open).