hnswlib icon indicating copy to clipboard operation
hnswlib copied to clipboard

How to save incremental changes to the index?

Open siddhsql opened this issue 1 year ago • 1 comments

Hi Yury - When this index is used in production in a real use-case scenario, users would add vectors incrementally and would want to save incremental changes. Suppose the index is already 100 GB (just making up a number) and I save the index. Then a add a few vectors - say 1000. I would now like to persist the changes to disk but I don't want to write the whole index again from scratch. Does the library handle that? How?

siddhsql avatar Jul 20 '23 21:07 siddhsql