is_trained
index_name
index_type
ivf
, ivfpq
, or ivfflat
).
index_config
ListIDs
Exceptions
- std::runtime_error: Thrown if an error occurs during retrieval.
NumVectors
Returns
size_t
: The number of vectors in the index.
Exceptions
std::runtime_error
std::runtime_error
- Throws if the index was not created or loaded yet.
- Throws if an error occurs while retrieving the count.