I have data structured as follows:
{
"id": 12345,
"name": "Brother PJ-663 Direct A4 Thermal Mobile Printer",
"type": "Thermal printer",
"features": "USB, Mobile Print"
},
I'm trying to create a refinementList widget based on the values out of the features string (exploded), same as I do for type, but I'm not sure if this is the right approach or even possible.
How should I format the data to be able to create a single instantsearch.widgets.refinementList widget?
Also I use _tags instead and add each of those features as a tag, would it be possible to achieve this?