Unable to use existing collection from Milvus DB cluster

Created on 18 February 2025, about 2 months ago

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

🐛 Bug report
Status

Active

Version

1.1

Component

AI Core module

Created by

🇮🇳India prashant.c Dharamshala

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @prashant.c
  • 🇬🇧United Kingdom scott_euser

    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.

  • 🇮🇳India prashant.c Dharamshala

    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.

Production build 0.71.5 2024