Closed WahidinAji closed 1 year ago
I try to search the collection by param. but got an error
I follow this instruction, but I think there is an error type on the SearchCollectionParams struct
SearchCollectionParams struct
on the sample, the QueryBy uses a string-array, such as
QueryBy
QueryBy []string
but, when I go to the struct, the type is just string not array-string
QueryBy string
So, in that case. I must uses only string like
QueryBy: "field"
and can't uses array-string
QueryBy: []string{"field_1", "field_2"}
Typsense Version:
{ "state": 1, "version": "0.24.0.rcn13" }
OS: Ubuntu 22.04.1 LTS x86_64
Fixed by https://github.com/typesense/typesense-go/pull/122
Description
I try to search the collection by param. but got an error
Steps to reproduce
I follow this instruction, but I think there is an error type on the
SearchCollectionParams struct
on the sample, the
QueryBy
uses a string-array, such asbut, when I go to the struct, the type is just string not array-string
So, in that case. I must uses only string like
and can't uses array-string
Typsense Version:
OS: Ubuntu 22.04.1 LTS x86_64