Parameters
Returns
std::unique_ptr<cyborg::EncryptedIndex>: A pointer to the newly created index (EncryptedIndex).
Exceptions
std::invalid_argument
std::invalid_argument
- Throws if the index name is not unique.
- Throws if the index configuration is invalid.
std::runtime_exception
std::runtime_exception
- Throws if the index could not be created.