Create a vector index for a given table.
The table to create the index on. Default: vectors
The indexing method to use. Options: hnsw, ivfflat, auto. Default: hnsw
Distance measure for vector comparisons. Options: cosine_distance, l2_distance, max_inner_product. Default: cosine_distance
Configuration parameters for the chosen index method. For HNSW: {m: int, ef_construction: int}. For IVFFlat: {n_lists: int}
Optional custom name for the index. If not provided, one will be auto-generated
The column containing the vectors to index. Default: vec
, or vec_binary
when using hamming or jaccard distance.
Whether to create the index concurrently. Default: true
Successful Response