Returns a list of all encrypted index names accessible via the client at the set DBConfig.

def list_indexes(self)

Returns

List[str]: A list of index names.

Exceptions

Example Usage

import cyborg_vector_search_py as cvs

index_location = cvs.DBConfig(location='redis', connection_string="redis://localhost")
config_location = cvs.DBConfig(location='redis', connection_string="redis://localhost")

client = cvs.Client(index_location=index_location, config_location=config_location)

print(client.list_indexes())
# Example output:
# ["index_one", "index_two", "index_three"]