Skip to main content

Create index

Create new index in the specified collection

Request Body
field_name string — REQUIRED

Possible values: 3 ≤ length ≤ 20, Value must match regular expression ^[a-z0-9_-]{3,20}$

dimension int64 — REQUIRED
Responses
200

successful operation

Schema
collection_name string — REQUIRED

Possible values: 3 ≤ length ≤ 20, Value must match regular expression ^[a-z0-9_-]{3,20}$

field_name string — REQUIRED

Possible values: 3 ≤ length ≤ 20, Value must match regular expression ^[a-z0-9_-]{3,20}$

n_documents int64 — REQUIRED
distance_metric string — REQUIRED

Possible values: [euclidean]

dimension int64 — REQUIRED
default

error

Schema
error string — REQUIRED