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

Fix char boundary panic #281

Merged
merged 4 commits into from
Apr 17, 2024
Merged

Fix char boundary panic #281

merged 4 commits into from
Apr 17, 2024

Conversation

ManyTheFish
Copy link
Member

@ManyTheFish ManyTheFish commented Apr 17, 2024

Filter empty tokens before inserting them in the AhoCorasick automaton, avoiding a char boundary panic

Related issue

Fixes partially meilisearch/meilisearch#4574

@ManyTheFish ManyTheFish added the bug Something isn't working label Apr 17, 2024
Copy link
Member

@Kerollmops Kerollmops left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is it partially fixing the issue?
bors merge

Copy link
Contributor

meili-bors bot commented Apr 17, 2024

Build succeeded:

@meili-bors meili-bors bot merged commit 99ab996 into main Apr 17, 2024
4 checks passed
@meili-bors meili-bors bot deleted the fix-char-boundary-panic branch April 17, 2024 15:16
@curquiza
Copy link
Member

@Kerollmops because until it's not fully merged in Meilisearch, it does not completely fix the issue. I did not want this PR to close the MEilisearch issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants