向量数据库VikingDB
DropIndex 用于删除指定数据集 Collection 的指定索引 Index。
参数 | 类型 | 是否必选 | 参数说明 |
|---|---|---|---|
collectionName | string | 是 | 指定要删除索引所属的 Collection 名称。
|
indexName | string | 是 | 指定要删除的 Index 名称。
|
err := service.DropIndex("go", "goIndex") if err != nil { fmt.Println(err) }
Go 调用执行上面的任务,执行成功无返回信息。