I created an FTS index and make a query to it (ExecuteSearchQuery), including all fields in the response ("*"). One of the return values is an array, and Go cannot parse it because the SearcResulSetfield.Fields is map[string]string. Tell me what to do in this case, please?
Error:
%!(EXTRA *json.UnmarshalTypeError=json: cannot unmarshal array into Go struct field SearchResultHit.fields of type string)
Hi @hurchakov19, I was able to reproduce this and I’ve raised an issue. You can track it at https://issues.couchbase.com/browse/GOCBC-401