-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API for get_entity_by_id() in specific partition #4564
Comments
Hi team. I currently faced this same situation: need to get a vector inside a specific partition. While this is an ongoing ticket for a new feature, do you guys have any ideas of possible workarounds on how can I achieve this? I'd reckon that performing any kind of search for a specific vector using partitions is only available through the |
Looking into the code, I've seen that Lines 1302 to 1319 in f709349
Lines 1403 to 1420 in f709349
From my understanding a possible implementation would be to use the partitions to get a "filtered" Lines 1750 to 1758 in f709349
Are those assumptions correct? If so, is it preferable to create a new implementation avoiding breaking the API? |
Basically you are right, to get vector from specified partition, we need to pass partition names to the loop so that the FileHolder only contains segments from specified partitions.
|
For this question refer to the issue: #4813 |
Implemented in v1.1.0 |
Please state your issue using the following template and, most importantly, in English.
Is your feature request related to a problem? Please describe.
To get the vectors I have inserted, I can now use get_entity_by_id(), but I can't specify
partition_name
.Describe alternatives you've considered
I think the process would be faster if I could use the partition_name to use get_entity_by_id().
The text was updated successfully, but these errors were encountered: