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

How to delete index from MinhashLSH forest? #183

Open
charlotte-ling opened this issue Apr 22, 2022 · 1 comment
Open

How to delete index from MinhashLSH forest? #183

charlotte-ling opened this issue Apr 22, 2022 · 1 comment

Comments

@charlotte-ling
Copy link

I wanna delete a index from MinhashLSH forest, but I didn't find "remove" function in forest like that in lsh

@ekzhu
Copy link
Owner

ekzhu commented Jun 2, 2022

I assume you meant deleting a key?

It is difficult to actually delete from LSH Forest, as it is implemented using sorted arrays. However it is possible to add a hash table for all keys indexed, and "fake" delete the key from there. I am just not sure how much of a performance overhead that would be as it requires checking the new hash table for every keys retrieved.

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

No branches or pull requests

2 participants