You can call the DeleteSearchIndex operation to delete a search index created for a table.

Prerequisites

  • The OTSClient is initialized. For more information, see Initialization.
  • A data table is created. Data is written to the table.
  • A search index is created for the data table. For more information, see Create search indexes.

Parameters

ParameterDescription
table_nameThe name of the table.
index_nameThe name of the search index.

Examples

client.delete_search_index(table_name, index_name)