Skip to main content
Returns a list of all encrypted index names accessible via the client at the set LocationConfig.
std::vector<std::string> ListIndexes();

Returns

std::vector<std::string>: A list of index names.

Exceptions

  • Throws if the list of indexes could not be retrieved.

Example Usage

#include "cyborg_vector_search/client.hpp"

// ... Initialize the client ...

auto indexes = client.ListIndexes();

// Print the list of indexes
for (const auto& name : indexes) {
    std::cout << name << std::endl;
}
I