📣新登場!TiDB Cloud BYOC、TiDB Cloud Filesystem、PostgreSQL-compatible TiDB Cloud Starter がパブリックプレビュー中。このページは自動翻訳されたものです。原文はこちらからご覧ください。

DROP VECTOR INDEX



テーブルから Vector インデックスを削除します。

構文

DROP VECTOR INDEX [IF EXISTS] <index_name> ON [<database>.]<table_name>

例

-- Create a table with a vector index CREATE TABLE articles ( id INT, title VARCHAR, embedding VECTOR(768), VECTOR INDEX idx_embedding(embedding) distance = 'cosine' ); -- Drop the vector index DROP VECTOR INDEX idx_embedding ON articles; -- Drop with IF EXISTS to avoid errors if index doesn't exist DROP VECTOR INDEX IF EXISTS idx_embedding ON articles;

このページは役に立ちましたか?