mirror of
https://github.com/milvus-io/milvus.git
synced 2026-07-21 10:15:43 +00:00
issue: https://github.com/milvus-io/milvus/issues/48602 ref: https://github.com/milvus-io/milvus/issues/42148 This PR fixes issue: When performing element_filter search across multiple segments, if one segment returns 0 hits, C++ reduce creates an empty `LongArray` for `ElementIndices` which proto3 serializes as absent (nil). The Go-side reduce then sees inconsistent `ElementIndices` (nil vs non-nil) across segment results and returns an "inconsistent element-level flag" error. Signed-off-by: SpadeA <tangchenjie1210@gmail.com>