milvus-docs icon indicating copy to clipboard operation
milvus-docs copied to clipboard

[ERROR]: Bug in query example of user guide

Open unfode opened this issue 2 years ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues.

Issue

In the Go query example of user guide, Query is called. Its signature is:

Query(ctx context.Context, collectionName string, partitionNames []string, expr string, outputFields []string, opts ...SearchQueryOptionFunc) ([]entity.Column, error)

However, the 3rd and 4th argument passed to Query have wrong types:

image

Suggestion

No response

Anything else?

No response

unfode avatar Jun 23 '23 00:06 unfode