data_vector_indexes
Creates, updates, deletes, gets or lists a data_vector_indexes
resource.
Overview
Name | data_vector_indexes |
Type | Resource |
Id | databricks_workspace.vectorsearch.data_vector_indexes |
Fields
The following fields are returned by SELECT
queries:
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
upsertdatavectorindex | replace | deployment_name | Handles the upserting of data into a specified vector index. | |
deletedatavectorindex | delete | deployment_name | Handles the deletion of data from a specified vector index. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
deployment_name | string | The Databricks Workspace Deployment Name (default: dbc-abcd0123-a1bc) |
REPLACE
examples
- upsertdatavectorindex
Handles the upserting of data into a specified vector index.
REPLACE databricks_workspace.vectorsearch.data_vector_indexes
SET
data__inputs_json = '{{ inputs_json }}'
WHERE
deployment_name = '{{ deployment_name }}' --required
RETURNING
result,
status;
DELETE
examples
- deletedatavectorindex
Handles the deletion of data from a specified vector index.
DELETE FROM databricks_workspace.vectorsearch.data_vector_indexes
WHERE deployment_name = '{{ deployment_name }}' --required;