drop_index_if_exists#

langchain_community.vectorstores.oraclevs.drop_index_if_exists(client: Any, index_name: str) None[source]#

Drop an index if it exists.

Parameters:
  • client (Any) – The OracleDB connection object.

  • index_name (str) – The name of the index to drop.

Raises:

RuntimeError – If an error occurs while dropping the index.

Return type:

None