Skip to content

standalone milvus with batch search query #32760

Closed Answered by yhmo
dumbPy asked this question in Q&A and General discussion
Discussion options

You must be logged in to vote

I believe this is a bug of v2.4.0.
I use this script to test:

import requests

from pymilvus import (
    MilvusClient,
    connections,
    FieldSchema, CollectionSchema, DataType,
    Collection,
    utility,
)

# milvus_client = MilvusClient("http://localhost:19530", user="root", password="Milvus")
# print(milvus_client.list_collections())

connections.connect(host='localhost', port='19530')
print(utility.get_server_version())


collection_name = "AAA"
dim = 1536
metric_type = "L2"

fields=[
    FieldSchema(name="id", dtype=DataType.INT64, is_primary=True, auto_id=True),
    FieldSchema(name="embedding", dtype = DataType.FLOAT_VECTOR, dim=dim),
]

schema = CollectionSchema(fields=field…

Replies: 5 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@yhmo
Comment options

Answer selected by dumbPy
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@yhmo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants