index_loaded = table.load_index("index_name")
Result:
This method returns a String representing the status of load operation. If the error pops up when loading index, “ValueError” exception will be raised.
Parameter description:
Parameters | Description | Required |
---|---|---|
index_name (str) | Index to be loaded | 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" |