Flutter: getIndex

Retrieves the metadata of an index in the scoped bucket.

Examples

Get an index

final bucket = supabase.storage.vectors.from('embeddings');

final VectorIndex index = await bucket.getIndex('documents');

print(index.dimension);
print(index.distanceMetric);