Interface CreateTableVectorIndexOptions

Options for creating a new index via Table.createVectorIndex

interface CreateTableVectorIndexOptions {
    ifNotExists?: boolean;
    options?: TableVectorIndexOptions;
    timeout?: number | Pick<Partial<TimeoutDescriptor>, "tableAdminTimeoutMs" | "requestTimeoutMs">;
}

Hierarchy (view full)

  • WithTimeout<"tableAdminTimeoutMs">
    • CreateTableVectorIndexOptions

Properties

ifNotExists?: boolean

If true, no error will be thrown if the index already exists.

Note that this does not check if the existing index is the same as the one attempting to be created; it simply checks if the name is already in use.

Options available for the vector index.

timeout?: number | Pick<Partial<TimeoutDescriptor>, "tableAdminTimeoutMs" | "requestTimeoutMs">

The method timeout override.

See TimeoutDescriptor for much more information.