You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you make multiple searches using multisearch query, and if one of the queries causes an error somehow (for example a field which isn't a facet index is given as facet_by input), the response corresponding to that query is just an empty object and is not pouplated with code and message. This is because the response object is just SearchResult which doesn't have Code & Message fields, so when you unmarshal the data is gone.
The way to fix this IMO would be to add a separate MultiSearchResultEle type which has everything in SearchResult but also has the Code and Error fields.
The text was updated successfully, but these errors were encountered:
Description
If you make multiple searches using multisearch query, and if one of the queries causes an error somehow (for example a field which isn't a facet index is given as facet_by input), the response corresponding to that query is just an empty object and is not pouplated with code and message. This is because the response object is just
SearchResult
which doesn't have Code & Message fields, so when you unmarshal the data is gone.The way to fix this IMO would be to add a separate MultiSearchResultEle type which has everything in SearchResult but also has the Code and Error fields.
The text was updated successfully, but these errors were encountered: