跳到主要内容

drop_index

删除索引

声明

bool drop_index(string index_name, map opts = {})

参数

参数名描述
index_name索引名称
opts操作选项

返回值

true - 删除成功, false - 删除失败

使用方式

返回文档