Skip to contents

Create a new index.

Usage

create_vector_search_index(
  client,
  name,
  endpoint_name,
  primary_key,
  index_type,
  delta_sync_index_spec = NULL,
  direct_access_index_spec = NULL
)

vectorSearchIndexesCreateIndex(
  client,
  name,
  endpoint_name,
  primary_key,
  index_type,
  delta_sync_index_spec = NULL,
  direct_access_index_spec = NULL
)

Arguments

client

Required. Instance of DatabricksClient()

name

Required. Name of the index.

endpoint_name

Required. Name of the endpoint to be used for serving the index.

primary_key

Required. Primary key of the index.

index_type

Required. There are 2 types of Vector Search indexes: - DELTA_SYNC: An index that automatically syncs with a source Delta Table, automatically and incrementally updating the index as the underlying data in the Delta Table changes.

delta_sync_index_spec

Specification for Delta Sync Index.

direct_access_index_spec

Specification for Direct Vector Access Index.