You can call this operation to delete an unnecessary Searchindex structure.

Example

private static void deleteSearchIndex(SyncClient client) {
    DeleteSearchIndexRequest request = new DeleteSearchIndexRequest();
    request.setTableName(TABLE_NAME); // Set the name of the table.
    request.setIndexName(INDEX_NAME); // Set the name of the index.
    client.deleteSearchIndex(request); // Use client to delete the target Searchindex structure.
}