Hi, I'm using the go library to fetch from Typesen...
# community-help
m
Hi, I'm using the go library to fetch from Typesense, however I've hit a problem. When doing a standard multi search the results return and map fine, however, with union:true, I get no results. I think this is due to the different format of the response not being handled by the existing
api.MultiSearchResponse
. Is this a known issue or am I using it incorrectly?
f
Wrong Thread
Hey Mark, I'll take a look and get back to you.
m
Ah it's a known issue, if I'd bothered to check issues it;s the first one https://github.com/typesense/typesense-go/issues/204. Looks like there is a PR for it that needs approved
f
I've cc'ed Kishore to check out the PR and Merge it
🙌 1
m
Thanks for that, looks like it's been added now
Oh one more thing, he mapped the []hits array, but not the surrounding params like "found", "out_of" etc. I think a new type needs added for that. means I can't get totals currently
f
I'll add a test and check it. Will update this thread as soon as a PR is ready 🚀
🙌 1
🙌 1
m
Awesome, will grab this when I'm back in on Friday and try it out