Drop vector, metadata, or all indexes.
post
http://localhost:8080/ords/pdbdba/_/db-api/stable/vecdb/vector-indexes/{vector_table_name}/delete
Drops vector, metadata, or all indexes for the specified vector table.
Request
Path Parameters
-
vector_table_name(required): string
The name of the vector table to which the vector index is associated to.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
debugFlags: object
VectorDebugFlags
Debug flags to be used to trace vector modules
-
indexParams: object
VectorIndexParams
Additional Properties Allowed:
trueNested index configuration for vector and metadata indexes.
Nested Schema : VectorDebugFlags
Type:
objectDebug flags to be used to trace vector modules
Show Source
-
VEC_INDEX_CALIBRATION: string
Allowed Values:
[ "low", "medium", "high" ] -
VECIDX_TRANS: string
Allowed Values:
[ "low", "medium", "high" ] -
VECIDX_TRANS_COM: string
Allowed Values:
[ "low", "medium", "high" ] -
VECIDX_TRANS_PJ: string
Allowed Values:
[ "low", "medium", "high" ] -
VECIDX_TRANS_PJ_DWNGRD: string
Allowed Values:
[ "low", "medium", "high" ] -
VECIDX_TRANS_PJ_GROW: string
Allowed Values:
[ "low", "medium", "high" ] -
VECIDX_TRANS_SJ: string
Allowed Values:
[ "low", "medium", "high" ] -
VECIDX_TRANS_SJ_BG: string
Allowed Values:
[ "low", "medium", "high" ] -
VECTOR_INDEX: string
Allowed Values:
[ "low", "medium", "high" ] -
VECTOR_INDEX_FIXED_VIEW: string
Allowed Values:
[ "low", "medium", "high" ] -
VECTOR_INDEX_NEIGHBOR_GRAPH: string
Allowed Values:
[ "low", "medium", "high" ] -
VECTOR_INDEX_NEIGHBOR_GRAPH_APPCHNG: string
Allowed Values:
[ "low", "medium", "high" ] -
VECTOR_INDEX_NEIGHBOR_GRAPH_BUILD: string
Allowed Values:
[ "low", "medium", "high" ] -
VECTOR_INDEX_NEIGHBOR_GRAPH_MEM: string
Allowed Values:
[ "low", "medium", "high" ] -
VECTOR_INDEX_NEIGHBOR_GRAPH_SEARCH: string
Allowed Values:
[ "low", "medium", "high" ] -
VECTOR_INDEX_NEIGHBOR_GRAPH_STATS: string
Allowed Values:
[ "low", "medium", "high" ] -
VECTOR_INDEX_NEIGHBOR_PARTITIONS: string
Allowed Values:
[ "low", "medium", "high" ] -
VECTOR_TRACE: string
Allowed Values:
[ "low", "medium", "high" ]
Nested Schema : VectorIndexParams
Type:
objectAdditional Properties Allowed:
trueNested index configuration for vector and metadata indexes.
Show Source
-
index_type: string
Allowed Values:
[ "vector", "metadata", "all" ]Action scope for rebuild and drop operations. -
metadata_index_params: object
metadata_index_params
Additional Properties Allowed:
trueMetadata multi-value index settings and path selectors. -
parallel_creation: integer
Minimum Value:
1Parallel DDL degree for vector and metadata index operations. -
vector_index_params: object
vector_index_params
Additional Properties Allowed:
trueVector index settings such as organization, distance metric, distributed HNSW, scalar quantization, and advanced parameters.
Example:
{
"vector_index_params":{
"auto_index":true,
"organization":"INMEMORY GRAPH",
"distance_metric":"COSINE",
"quantization_type":"SCALAR",
"compression_ratio":4,
"distribute_params":{
"distribute_method":"AUTO"
},
"advanced_params":{
"neighbors":32,
"efConstruction":128,
"rescore_factor":10,
"algorithm":"uniform_quantization"
}
},
"metadata_index_params":{
"auto_index":true,
"include_paths":[
"tenant",
"category"
],
"exclude_paths":[
"body"
]
},
"parallel_creation":4
}Nested Schema : metadata_index_params
Type:
objectAdditional Properties Allowed:
trueMetadata multi-value index settings and path selectors.
Show Source
Nested Schema : vector_index_params
Type:
objectAdditional Properties Allowed:
trueVector index settings such as organization, distance metric, distributed HNSW, scalar quantization, and advanced parameters.
Show Source
-
accuracy: integer
Minimum Value:
0Maximum Value:100 -
advanced_params: object
advanced_params
Index-family-specific options such as partitions, neighbors, efConstruction, rescore_factor, or algorithm.
-
auto_index: boolean
Enables vector index creation or management.
-
compression_ratio: number
Allowed Values:
[ 2, 4, 8 ] -
distance_metric: string
Allowed Values:
[ "COSINE", "MANHATTAN", "HAMMING", "JACCARD", "DOT", "EUCLIDEAN", "L2_SQUARED", "EUCLIDEAN_SQUARED" ] -
distribute_params: object
distribute_params
-
online_build: boolean
-
organization: string
Allowed Values:
[ "PARTITIONS", "INMEMORY GRAPH" ] -
quantization_type: string
Allowed Values:
[ "NONE", "SCALAR" ]
Nested Schema : advanced_params
Type:
objectIndex-family-specific options such as partitions, neighbors, efConstruction, rescore_factor, or algorithm.
Nested Schema : distribute_params
Type:
Show Source
object-
distribute_method: string
Allowed Values:
[ "ROWID RANGE", "SIMILARITY", "PARTITION", "SUBPARTITION", "DISTRIBUTE", "AUTO" ]
Examples
Security
-
BasicAuth: http
Type:
http -
BearerAuth: http
Type:
http -
OAuth2: oauth2
Type:
oauth2
Response
Supported Media Types
- application/json
- application/problem+json
200 Response
Index dropped
400 Response
The request body included invalid parameters.
404 Response
The vector table or requested index was not found.