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
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : VectorDebugFlags
Type: object
Debug flags to be used to trace vector modules
Show Source
Nested Schema : VectorIndexParams
Type: object
Additional Properties Allowed: true
Nested index configuration for vector and metadata indexes.
Show Source
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: object
Additional Properties Allowed: true
Metadata multi-value index settings and path selectors.
Show Source
Nested Schema : vector_index_params
Type: object
Additional Properties Allowed: true
Vector index settings such as organization, distance metric, distributed HNSW, scalar quantization, and advanced parameters.
Show Source
Nested Schema : exclude_paths
Type: array
Show Source
Nested Schema : include_paths
Type: array
Show Source
Nested Schema : advanced_params
Type: object
Index-family-specific options such as partitions, neighbors, efConstruction, rescore_factor, or algorithm.
Nested Schema : distribute_params
Type: object
Show Source
Examples

Security
Back to Top

Response

Supported Media Types

200 Response

Index dropped
Body ()
Root Schema : schema
Type: object
Show Source

400 Response

The request body included invalid parameters.
Body ()
Root Schema : ORDSErrorResponse
Type: object
Show Source

404 Response

The vector table or requested index was not found.
Body ()
Root Schema : ORDSErrorResponse
Type: object
Show Source
Back to Top