mirror of
https://github.com/milvus-io/milvus.git
synced 2026-07-21 10:15:43 +00:00
Optimize the k-way merge by advancing the heap root in place instead of popping and pushing it for every candidate. Use typed deduplication keys for INT64 and VARCHAR primary keys, including element-level and group-by search paths. Skip late materialization when the search plan has no non-primary target fields, while preserving the primary field for mixed output fields required by proxy reranking. Ensure submitted segcore output-field tasks are joined on exceptional paths and add correctness and benchmark coverage for the optimized merge implementations. https://github.com/milvus-io/milvus/issues/51315 Signed-off-by: junjie.jiang <junjie.jiang@zilliz.com>