Activate Vector Index

index_activated = table.activate_index("index_name")  


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:

index_name (str)Index to be activatedYes
wait_for_completion (bool)Whether to wait until this job is doneNo, defaults to True
timeout (str)Operation timeout, in secondsNo, defaults to "120"
Table 74 Activate Vector Index (Python API)