Create Vector Index
Create an index on a column. We support vector, full text search, and scalar indices.
Vector index options are: IVF_PQ
and IVF_HNSW_SQ
. The distance_type
parameter is required for vector indices.
For full text search, use FTS
.
For scalar indices,
use BTREE
, BITMAP
, or LABEL_LIST
.
Authorizations
Path Parameters
name of the table
Body
type of index to create
IVF_PQ
, IVF_HNSW_SQ
, BTREE
, BITMAP
, LABEL_LIST
, FTS
The targeted vector column to index. Required only if there are multiple vector columns.
distance metric to use for search
L2
, Cosine
, Dot
Whether to store the position of tokens in docs, required for phrase search.
The base tokenizer to use for full text search.
The language to use for stemming and stop words.
The maximum token length to index, longer tokens are ignored.
Whether to convert tokens to lowercase.
Whether to apply stemming to tokens.
Whether to remove stop words from tokens.
Whether to convert non-ASCII characters to ASCII, used for accent folding.
Response
The response is of type object
.