Skip to main content

index_name

Returns the name of the encrypted index.

Returns

str: The unique name identifier of the index.

Example Usage


index_type

Returns the type of the index (for example, 'ivf', 'ivfpq', or 'ivfflat').

Returns

str: The index type.

Example Usage


is_trained

Returns whether the index has been trained. Training is required for optimal query performance on IVF-based indexes.

Returns

bool: True if the index has been trained, False otherwise.

Example Usage


index_config

Returns the index configuration object as a dictionary. The structure depends on the index type.

Returns

Dict[str, Any]: Configuration dictionary containing index parameters.

Example Usage

Configuration Properties

Common Properties (All Index Types)

IVFPQ-Specific Properties

Advanced Usage


generate_key

Generate secure encryption keys: