You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got this error when I created an index on collection:
client.create_collection('my_sparse_collection', schema=schema,
index_params=index_params, timeout=5, consistency_level="Strong")
error:
RPC error: [create_index], <MilvusException: (code=1100, message=create index on json field is not supported: expected=supported field, actual=create index on 104 field: invalid parameter)>, <Time:{'RPC start': '2024-12-04 11:47:50.713235', 'RPC error': '2024-12-04 11:47:50.793430'}>
Failed to create an index on collection: my_sparse_collection
Is there an existing issue for this?
Describe the bug
I'm following this example https://github.com/milvus-io/pymilvus/blob/master/examples/sparse.py to store sparse embedding in Milvus server.
I got this error when I created an index on collection:
client.create_collection('my_sparse_collection', schema=schema,
index_params=index_params, timeout=5, consistency_level="Strong")
error:
RPC error: [create_index], <MilvusException: (code=1100, message=create index on json field is not supported: expected=supported field, actual=create index on 104 field: invalid parameter)>, <Time:{'RPC start': '2024-12-04 11:47:50.713235', 'RPC error': '2024-12-04 11:47:50.793430'}>
Failed to create an index on collection: my_sparse_collection
Expected Behavior
The index can be created on sparse vector field.
Steps/Code To Reproduce behavior
Environment details
Anything else?
No response
The text was updated successfully, but these errors were encountered: