使用DeleteSearchIndex接口可以删除指定数据表的一个多元索引。
前提条件
参数
参数 | 说明 |
---|---|
tableName | 数据表名称。 |
indexName | 多元索引名称。 |
示例
client.deleteSearchIndex({
tableName: TABLE_NAME, //设置数据表名称。
indexName: INDEX_NAME //设置多元索引名称。
}, function (err, data) {
if (err) {
console.log('error:', err);
return;
}
console.log('success:', data);
});