-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
0.8.0 id=-1 is returned when total count < topk #2203
Comments
returned distance has the same problem |
When the number of results is less than topk, the insufficient part will be filled with -1, which is an expected behavior. |
what is the consideration of this strategy ? why not retain the strategy as 0.6.0 ? |
I have reproduced this problem. There are indeed different behaviors between 060 and 080. We are working hard to find code changes and redefine this behavior. |
@scsven As we discussed, this issue should be solved in SDK. |
This has been implemented in Java SDK and will be available with Milvus 0.9.0 Release. |
This has been implemented in Go SDK and will be available with Milvus 0.9.0 Release. |
This issue has been implemented in python SDK. |
Describe the bug
for example:
-1
s, as belowSteps/Code to reproduce behavior
Follow this guide to craft a minimal bug report. This helps us reproduce the issue you're having and resolve the issue more quickly.
Expected behavior
just as 0.6.0, return only 100 ids
Environment details
milvus 0.8.0, java sdk
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: