EncryptedIndex
.
Parameter | Type | Description |
---|---|---|
index_name | std::string | Name of the index to load. |
index_key | std::array<uint8_t, 32> | 32-byte encryption key for the index, used to secure index data. |
max_cache_size | std::optional<size_t> | (Optional) Maximum size for the local cache (default is 0 ). |
logger | cyborg::Logger* | (Optional) Pointer to a logger instance for capturing operation logs (default is nullptr ). |
std::unique_ptr<cyborg::EncryptedIndex>
: A pointer to the loaded index (EncryptedIndex
).
std::invalid_argument
std::runtime_exception