Skip to main content
If you’ve previously created an encrypted index, you can connect to it to add, query or delete data from it. You will need to know the index’s name as well as its key to do so:
This creates a new encrypted index with the IVFFlat type. For more details on IVFFlat and other index options, see Configure an Encrypted Index.
You will need to replace index_key with your own index encryption key. For production use, we recommend that you use an HSM or KMS solution.

Encrypted Index Caching

For improved query performance, you can enable encrypted index caching by setting a max_cache_size:

API Reference

For more information on loading encrypted indexes, refer to the API reference:

Python API Reference

API reference for load_index() in Python

C++ API Reference

API reference for LoadIndex() in C++