This message was deleted.
# community-help
s
This message was deleted.
f
Hey Andy, sure, go ahead!
a
Thanks Fanis. So basically I have my data in Typesense Cloud and it all works fine there, but when I search on my local version it just will not return the "highlighted" body.
I get "listsummary", but not "body".
f
Hm, so the API response includes the highlighted result fine?
a
If I run a search in Cloud for example, I get this:
f
We have a couple of demos using Instantsearch with plain JS. Here's one: https://github.com/typesense/showcase-ecommerce-store/blob/master/src%2Fapp.js#L107 Can you try seeing if everything matches on your side as well?
a
Thankyou, I will take a look. I have a feeling it has something to do with the body field returning a group of highlight results whereby listsummary typically returns just one (as it's much shorter)
f
Try logging some things out to the console as well
a
OK, the JS link you sent looks like it might be helpful so I will have a try at refactoring a little and get back - thankyou for the help 🙂
@Fanis Tharropoulos got this working in the end, thankyou for sending that link over. Probably should have looked there in the first place, but that's me!
🙌 1
f
No prob! Glad you got it sorted out