Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
1
Description
When creating a FTS query requesting non-string fields (e.g. "*" on a document with many field types), a Go unmarshal error is produced:
cannot unmarshal array into Go struct field SearchResultHit.fields of type string
This is because Fields in the searchResponse struct is set to map[string]string, it should be map[string]interface{} to allow for multiple field types.
Attachments
Issue Links
- relates to
-
JCBC-1354 SDK3: Search fields can contain JSON object and array, which are currently returned as String
- Closed