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
This appears to be the only way to load partitions with pymilvus but this looks like it loads the entire collection and not just the relevant partition_key. Is there a way to only load the partition?
When I do this search, I get results from all partitions. Not just "<partition_key> == 'a_partition_key'".
because some parts of the docs say to use expr="<partition_key> == 'a_partition_key'" and other parts say to use filter="<partition_key> == 'a_partition_key'"
edit: nevermind, no. I set both filter and expr and neither do anything with the partition_key == syntax
So, for future reference the problem was that I was using Milvus() instead of MilvusClient(). The second is the only one that seems to support filtering.
Is there an existing issue for this?
Describe the bug
This is similar to #2331 but it got retagged as a feature request. The bug is:
Expected Behavior
or something similar.
should return results where only
partition_key
is"a_partition_key"
.Steps/Code To Reproduce behavior
No response
Environment details
Anything else?
No response
The text was updated successfully, but these errors were encountered: