Delete Scalar Index

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:

ParametersDescriptionRequired
field_names (list[str])Field list to delete indexYes
index_name (str)Index to be deletedYes
Table 81 Delete Scalar Index (Python API)