components.Highlight not working

components.Highlight those not highlight text when using code like the following;

<components.Highlight
hit={item.hierarchy}
attribute=“lvl0”
/>

When I set it up this way:
<components.Highlight
hit={item}
attribute=“hierarchy.lvl0”
/>
It return an empty string.

Everything is set up correctly in the configuration.

Hi,

I have exactly the same problem…
How to highlight multi-level attribute ?

@nonsooranye

Well, i found the trick !!!

attribute: ['hierarchy','lvl0']

The doc is very bad about this…

Bye