diff --git a/internal/querynodev2/services.go b/internal/querynodev2/services.go index f53ac5faf8273..6d22586cc893f 100644 --- a/internal/querynodev2/services.go +++ b/internal/querynodev2/services.go @@ -1203,7 +1203,11 @@ func (node *QueryNode) GetDataDistribution(ctx context.Context, req *querypb.Get Level: s.Level(), LastDeltaTimestamp: s.LastDeltaTimestamp(), IndexInfo: lo.SliceToMap(s.Indexes(), func(info *segments.IndexedFieldInfo) (int64, *querypb.FieldIndexInfo) { - return info.IndexInfo.FieldID, info.IndexInfo + return info.IndexInfo.FieldID, &querypb.FieldIndexInfo{ + BuildID: info.IndexInfo.BuildID, + IndexID: info.IndexInfo.IndexID, + EnableIndex: info.IndexInfo.EnableIndex, + } }), }) }