DeleteSearchIndex

DeleteSearchIndex用于删除一个多元索引。示例代码:

/// <summary>
/// 删除多元索引
/// </summary>
/// <param name="otsClient"></param>
public static void DeleteSearchIndex(OTSClient otsClient)
{
    //设置表名和索引名
    DeleteSearchIndexRequest request = new DeleteSearchIndexRequest(TableName, IndexName);
    //调用otsClient删除对应的多元索引
    DeleteSearchIndexResponse response = otsClient.DeleteSearchIndex(request);
}