Skip to main content

index_query

Creates, updates, deletes, gets or lists an index_query resource.

Overview

Nameindex_query
TypeResource
Iddatabricks_workspace.vectorsearch.index_query

Fields

The following fields are returned by SELECT queries:

Successful response with query results.

NameDatatypeDescription
manifestobject
next_page_tokenstring
resultobject

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
queryindexselectdeployment_nameQuery the 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.

NameDatatypeDescription
deployment_namestringThe Databricks Workspace Deployment Name (default: dbc-abcd0123-a1bc)

SELECT examples

Query the specified vector index.

SELECT
manifest,
next_page_token,
result
FROM databricks_workspace.vectorsearch.index_query
WHERE deployment_name = '{{ deployment_name }}' -- required;