Authorizations
Path Parameters
name of the table
Body
Type of index to create for optimizing search performance.
Vector Indexes:
- IVF_PQ: Default vector index using Inverted File with Product Quantization. Optimized for high-dimensional vectors with excellent compression.
- IVF_HNSW_SQ: Combines IVF clustering with HNSW graph and Scalar Quantization for improved search quality and speed.
Scalar Indexes:
- BTREE: B-tree index for efficient range queries and equality comparisons on scalar data.
- BITMAP: Bitmap index for high-cardinality categorical data with fast boolean operations.
- LABEL_LIST: Optimized for label-based filtering and categorical data with limited unique values.
Full-Text Search:
- FTS: Full-text search index using BM25 algorithm for keyword-based search on text columns.
IVF_PQ, IVF_HNSW_SQ, BTREE, BITMAP, LABEL_LIST, FTS The column to index. Required for vector indexes when multiple vector columns exist. For scalar and FTS indexes, specifies the target column.
"vector"
Distance metric for vector indexes. Required for vector index types. Must match the metric used by your embedding model for optimal results.
L2, Cosine, Dot Whether to store token positions for FTS indexes. Required for phrase search functionality.
Tokenizer for FTS indexes. Simple tokenizer is recommended for most use cases.
simple, whitespace, unicode Language for stemming and stop words in FTS indexes. Affects search behavior and index size.
Maximum token length for FTS indexes. Longer tokens are ignored to prevent index bloat.
1 <= x <= 100Whether to convert tokens to lowercase in FTS indexes. Improves search consistency.
Whether to apply stemming in FTS indexes. Reduces index size but may affect search precision.
Whether to remove stop words in FTS indexes. Reduces index size and noise.
Whether to convert non-ASCII characters to ASCII in FTS indexes. Useful for accent-insensitive search.
Response
Vector index is created successfully
The response is of type object.