Why does MilvusClient.query() fail with VECTOR_FLOAT when sorting by a scalar ID?
I am using Milvus 3.0-20260810-e2820e273c in cluster mode with PyMilvus 3.0.1rc48. I want to retrieve each record’s ID and vector, sorted by ID. Here is the collection setup: from pymilvus import DataType, MilvusClient client = MilvusClient(uri="http://localhost:19530") collection_name = "query_orderby_vector_output_repro" schema = client.create_schema( auto_id=False, enable_dynamic_field=False, ) schema.add_field("id", DataType.INT64, is_primary=True) schema.add_field("vector", DataType.FLOAT_VECTOR, dim=4) index_params = client.prepare_index_params() index_params.add_index( field_name="vecto
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.