drop_index_if_exists#

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

Drop an index if it exists.

Parameters:
  • client (Connection) – 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