Problem/Motivation

When attempting to use an existing collection from the Milvus DB cluster, an error occurs stating that the collection already exists. Currently, only a new, non-existing collection can be specified, preventing the use of a pre-existing one.

Steps to reproduce

  1. Try adding a Search API server using Milvus Vector database configured for AI search
  2. In the "Collection" field try to specify a collection that you have already created in the cluster
  3. Try saving the configuration, it should throw an error that the collection already exists.

Proposed resolution

Replicate and issue fix.

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
milvus-db-existing-collection.png52.59 KBprashant.c

Comments

prashant.c created an issue. See original summary.

scott_euser’s picture

Project: AI (Artificial Intelligence) » Milvus VDB Provider
Version: 1.1.x-dev » 1.0.x-dev
Component: AI Core module » Code

Wonder whether we should be then checking if the collection is empty... Also whether any further checks needed to see if collection is compatible with the configuration of the search api server in question.

prashant.c’s picture

It seems to me that with the existing collection, it is trying to check if it's compatible and checking the vector field's size and therefore not allowing it to be used.
Will try to dig further.