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

Use Aho-Corasick algorithm for searching #14

Merged
merged 1 commit into from
Feb 18, 2022
Merged

Use Aho-Corasick algorithm for searching #14

merged 1 commit into from
Feb 18, 2022

Conversation

hadynz
Copy link
Owner

@hadynz hadynz commented Feb 18, 2022

Pivoting searching solution. Away from Lunr.js (which just could not handle exact word search). Instead using a "dictionary-matching" algorithm, Aho-Corasick, which is more appropriate for Sidekick's use case.

This change loses stemming functionality. Something to consider bringing in later if users ask for it.

@hadynz hadynz merged commit 7944372 into master Feb 18, 2022
@hadynz hadynz mentioned this pull request Feb 18, 2022
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

Successfully merging this pull request may close these issues.

1 participant