Skip to content

feat: enlarge topK limit#348

Merged
zhourrr merged 8 commits intoalibaba:mainfrom
zhourrr:feat/enlarge_topk
Apr 17, 2026
Merged

feat: enlarge topK limit#348
zhourrr merged 8 commits intoalibaba:mainfrom
zhourrr:feat/enlarge_topk

Conversation

@zhourrr
Copy link
Copy Markdown
Collaborator

@zhourrr zhourrr commented Apr 17, 2026

Enlarged topK limit to 100K. Hopefully this resolves #335 and the majority of use cases. I'm doing some benchmarking to verify the correctness. TopK has never ever been this large before...

@zhourrr
Copy link
Copy Markdown
Collaborator Author

zhourrr commented Apr 17, 2026

did some benchmarks on all the vector indexes we support (hnsw, ivf, flat, hnsw-rabitq), the performance seemed alright. ready to merge

@zhourrr zhourrr force-pushed the feat/enlarge_topk branch from 2075129 to ce8490b Compare April 17, 2026 08:42
@zhourrr zhourrr merged commit f602ed3 into alibaba:main Apr 17, 2026
12 checks passed
@zhourrr zhourrr deleted the feat/enlarge_topk branch April 17, 2026 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Enhance]: Increase topk hard limit beyond 1024 for query()

2 participants