I have some data attributes with several values separated by a comma. For example, I have a filter called “Design Style”
Most products have a single design style (i.e. Traditional). However, some of my products have several design styles (i.e. Traditional, Rustic). My filters are interpreting that as a single filter, literally spelled out as “Traditional, Rustic”. Is there any way to parse that so that that product could be filtered by Traditional OR Rustic?
You could override the indexed string property with an array of strings, just before it is sent to Elasticsearch.
Check out this code example: https://www.wpsolr.com/forums/reply/6840/