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:
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. For more details, see Managing Encryption Keys.

Encrypted Index Caching

For improved query performance, you can enable encrypted index caching by setting a max_cache_size:
The maximum cache size is specified in megabytes. When the cache reaches this size, the least recently used entries will be evicted.

API Reference

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

Python API Reference

API reference for load_index() in Python

C++ API Reference

API reference for LoadIndex() in C++