index_released = table.release_index("index_name")
Result:
This method returns a String representing the status of activation operation. If the error pops up when activating index, “ValueError” exception will be raised.
Parameter description:
Parameters | Description | Required |
---|---|---|
index_name (str) | Index to be activated | Yes |
wait_for_completion (bool) | Whether to wait until this job is done | No, defaults to True |
timeout (str) | Operation timeout, in seconds | No, defaults to "120" |