Open mdmmn378 opened 2 months ago
@congqixia Please help take a look.
@mdmmn378
It is recommended to use topk
as the approximate number of vectors expected to be returned by the search.
Thanks for your comment.
I understand the role of topk
. But, what's the exact role of limit
here?
Is there an existing issue for this?
Current Behavior
When I attempt to enforce a limit to vector search, it doesn't work and returns the full-length result.
Expected Behavior
When I enforce a limit explicitly, it should return the exact number of results, not more.
Steps To Reproduce