Questions tagged [milvus]

Milvus is a vector database. Use this tag for questions specific to Milvus. For questions about vector databases in general, use "vector-database" tag.

Milvus was created in 2019 with a singular goal: store, index, and manage massive embedding vectors generated by deep neural networks and other machine learning (ML) models.

47 questions
6
votes
2 answers

ModuleNotFoundError: No module named 'milvus'

Goal: to run this Auto Labelling Notebook on AWS SageMaker Jupyter Labs. Kernels tried: conda_pytorch_p36, conda_python3, conda_amazonei_mxnet_p27. ! pip install farm-haystack -q # Install the latest master of Haystack !pip install…
DanielBell99
  • 896
  • 5
  • 25
  • 57
3
votes
1 answer

Can't connect to Milvus using Pymilvus inside docker. MilvusException: (code=2, message=Fail connecting to server on localhost:19530. Timeout)

I'm trying to connect to a Milvus server using Pymilvus. The server is up and running but I can't connect to it: MilvusException: (code=2, message=Fail connecting to server on localhost:19530. Timeout) I'm running both using docker compose: version:…
3
votes
0 answers

Without k8s cluster, how to deploy milvus distributed cluster on multiple machines?

If I don't have a k8s cluster, I need to deploy a Milvus distributed cluster on multiple machines. How should I do this? Is it possible to use the docker-compose way?
Jack
  • 85
  • 5
1
vote
0 answers

Setting username password for Milvus ATTU server

I have used docker-compose to install milvus, attu on ec2 machine. Below is my docker-compose file. version: '3.5' services: etcd: container_name: milvus-etcd image: quay.io/coreos/etcd:v3.5.5 environment: -…
1
vote
0 answers

Ways to include context in the score generated against the document

I have a usecase with me. If you have any ideas or approaches on how to solve it (partially or fully) please let me know. I am using vector database milvus for my application. Currently, the database contains columns content and embeddings. For each…
James K J
  • 31
  • 2
1
vote
0 answers

Milvus multiple vectors in a row

Is it possible to have multiple vectors in a row on milvus. What is needed is a custom score that is like a weighted average of the individual vector scores. Is there a limit on the number of vectors we can have on milvus? If not possible on milvus,…
Ajay
  • 131
  • 4
1
vote
1 answer

Docker compose volume definition using environment variable

I'm running a containerized Milvus Standalone database (Milvus) and I'm trying to find the location of items added to the database. In the docker-compose.yml file, the volume location is defined as follows: volumes: -…
1
vote
1 answer

pod has unbound immediate PersistentVolumeClaims, I deployed milvus server using

etcd: enabled: true name: etcd replicaCount: 3 pdb: create: false image: repository: "milvusdb/etcd" tag: "3.5.0-r7" pullPolicy: IfNotPresent service: type: ClusterIP port: 2379 peerPort: 2380 auth: rbac: enabled: false persistence: enabled:…
1
vote
2 answers

Database installation in Kubernete using helm chart got an error no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"

Error: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "PodDisruptionBudget" in version "policy/v1beta1" minikube version : v1.28.0 helm version: v3.5.4+g1b5edb6 OS: Ubuntu I am trying to install…
1
vote
1 answer

"StatusCode.UNAVAILABLE, internal: Milvus Proxy is not ready yet" - Milvus Vector Search Issue

Milvus was working fine for a while and I wanted to insert data. When I released the collection, milvus crashed with the error "StatusCode.UNAVAILABLE, internal: Milvus Proxy is not ready yet". I recreated the docker image several times and even…
1
vote
1 answer

Milvus, similarity search by vector id

I am trying to conduct a vector similarity search via vector's raw id (VarChar type). For example, a vector consists of three fields : auto_id (int64), userId (VarChar), vectorField (FloatVector). One possible solution in my mind is like: Retrieve…
1
vote
1 answer

Milvus Connection Error in GCP Cloud Function

I have created a GCP cloud function (gen 1) in python, which connects to a Milvus deployment deployed on the same GCP project where the cloud function is created. When connecting to the Milvus deployment from my local PC through telepresence I have…
Dez
  • 11
  • 1
1
vote
1 answer

What is included in the ‘standalone’ vs ‘cluster’ Milvus deployments?

What is included in the ‘standalone’ vs ‘cluster’ Milvus deployments? Standalone makes it sound like it is a single instance, but as far as I can tell it still requires deploying ETCD and MinIO.
Jack
  • 85
  • 5
1
vote
0 answers

Does milvus auto-flush inserted data to object storage? or do we have to manually call flush?

I used the milvus1.x version in the past. After I insert data, I need to call the flush interface to ensure that the data is placed on the disk, so as to ensure that the newly inserted data can be searched. But when I used milvus2.0, I didn't find…
Jack
  • 85
  • 5
1
2 3 4