scalar_index_deleted = table.delete_scalar_index(index_name = "text1_index")
Result:
This method returns a Boolean value to represent whether this operation is successful. If the error pops up when deleting scalar index, “ValueError” exception will be raised.
Parameter description:
Parameters | Description | Required |
---|---|---|
field_names (list[str]) | Field list to delete index | Yes |
index_name (str) | Index to be deleted | Yes |