You can call the ListSearchIndex operation to obtain indexes created in the current instance or associated with a table.
Prerequisites
- The OTSClient instance is initialized. For more information, see Initialization.
- A data table is created and data is written to the table.
- A search index is created for the table. For more information, see Create search indexes.
Parameters
Parameter | Description |
---|---|
table_name | Optional. The name of the table.
|
Examples
for table, index_name in client.list_search_index(table_name):
print table, index_name