Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.36 KB

File metadata and controls

46 lines (30 loc) · 1.36 KB

CreateIndexRequest

Properties

Name Type Description Notes
name String The table name
namespace List<String> The namespace identifier
column String Name of the column to create index on
indexType IndexTypeEnum Type of index to create
metricType MetricTypeEnum Distance metric type for vector indexes [optional]
numPartitions Integer Number of partitions for IVF indexes [optional]
numSubVectors Integer Number of sub-vectors for PQ indexes [optional]
numBits Integer Number of bits for scalar quantization [optional]
maxIterations Integer Maximum iterations for index building [optional]
sampleRate Integer Sample rate for index building [optional]

Enum: IndexTypeEnum

Name Value
BTREE "BTREE"
BITMAP "BITMAP"
LABEL_LIST "LABEL_LIST"
IVF_FLAT "IVF_FLAT"
IVF_HNSW_SQ "IVF_HNSW_SQ"
IVF_PQ "IVF_PQ"
FTS "FTS"

Enum: MetricTypeEnum

Name Value
L2 "l2"
COSINE "cosine"
DOT "dot"