Skip to main content
Creates and returns a new encrypted DiskIVF index. CyborgDB supports a single index type, DiskIVF; the older IndexConfig/IndexIVF* variants have been removed.

Parameters

Returns

std::unique_ptr<cyborg::EncryptedIndex>: A pointer to the newly created index (EncryptedIndex).

Exceptions

  • Throws if the index name is not unique.
  • Throws if the index configuration is invalid.
  • Throws if the index could not be created.

Example Usage

Automatic Index Config

Explicit Index Config