4. Saving and Loading Indexes¶
Estimated time: 6 minutes
Learn how to save your index to disk and load it later.
Steps¶
- Save the index:
index.save("my_index.ann")
- Load the index:
from rust_annie import AnnIndex index = AnnIndex.load("my_index.ann") print("Index loaded!")