eva.interfaces.relational.db.EVAConnection.create_vector_index#

EVAConnection.create_vector_index(index_name: str, table_name: str, expr: str, using: str) EVAConnection[source]#

Create a vector index on a table in the database.

Parameters:
  • index_name (str) – Name of the index to be created.

  • table_name (str) – Name of the table on which to build the index.

  • expr (str) – Expression defining the indexed vector column.

  • using (str) – Name of the vector indexing method to use.

Returns:

The connection object for executing further operations.

Return type:

EVAConnection