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 tantivy processed dictionaries to fix mem leak. #61

Merged
merged 8 commits into from
Jan 11, 2022

Conversation

ChillFish8
Copy link
Member

This uses tantivy's internal segment dictionaries to produce the symspell edits rather than trying to hold onto millions of separate counters which causes the system to use an insane amount of memory.

This also comes with the advantage of being quicker to index and faster to read and write from.

@ChillFish8 ChillFish8 added bug Something isn't working enhancement New feature or request storage Relating to the storage of data in lnx labels Jan 11, 2022
@ChillFish8 ChillFish8 merged commit 9343315 into master Jan 11, 2022
@ChillFish8 ChillFish8 deleted the mem-leak-redesign branch January 11, 2022 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request storage Relating to the storage of data in lnx
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant