jean-pierreBoth / hnswlib-rs

Rust implementation of the HNSW algorithm (Malkov-Yashunin)
Other
159 stars 21 forks source link

delete and update #11

Closed web3creator closed 1 year ago

web3creator commented 1 year ago

First of all, this project is affirmed, I would like to ask how to perform delete and update operations

jean-pierreBoth commented 1 year ago

Not possible, at least now. Possibly you can use filtering (development version) to select/exclude data in search. If you want to delete a large part of data, I am afraid now it must be done by hand. Anyway it needs rebuilding all links around deleted items. Possibly I will add a rebuild with a filter if really useful.