opensearch-project / k-NN

🆕 Find the k-nearest neighbors (k-NN) for your vector data
https://opensearch.org/docs/latest/search-plugins/knn/index/
Apache License 2.0
156 stars 123 forks source link

[Backport 2.x] Optimize reduceToTopK in ResultUtil by removing pre-filling and reducing peek calls #2164

Closed opensearch-trigger-bot[bot] closed 1 month ago

opensearch-trigger-bot[bot] commented 1 month ago

Backport e0c3afe5fe2f0048b9422364aeeb620e35a44deb from #2146