fix: [GOSDK] Pass outputFields param in search request (#33710)

See also #33627

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
congqixia 2024-06-07 18:27:53 +08:00 committed by GitHub
parent 3729d2c8e7
commit 80a2cd192a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -81,6 +81,7 @@ func (opt *searchOption) prepareSearchRequest(annRequest *annRequest) *milvuspb.
Dsl: opt.expr,
DslType: commonpb.DslType_BoolExprV1,
ConsistencyLevel: commonpb.ConsistencyLevel(opt.consistencyLevel),
OutputFields: opt.outputFields,
}
if annRequest != nil {
// nq