I encountered an issue regarding the LIMIT return. #36322
-
There are 847 records in the Milvus collection, with nlist set to 4 and nprobe set to 4. When the limit is 32, only 7 results are returned; when the limit is 320, about 20 results are returned; and when the limit is 16,384, about 667 results are returned. I'm confused as to why, when the limit is 32, it doesn't return more results, given that nprobe is already the same as nlist. Here is the table creation statement.
Here is the query statement.
I hope to get some help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
I could not reproduce the problem by random vectors:
The returned result number is expected:
|
Beta Was this translation helpful? Give feedback.
The current behavior of milvus is confusing users when there are duplicated primary keys in one collection, which is caused by historical reasons and not easy to change.
Just highlight these points: