is there a way to split a facets into multiple subfacets for string type dynamically at querytime?
We have a requirement to split facets into multiple sub facets at query time and we are using coveo Hive for Site core 9.1.
Consider there is a facet field named tagvalue,which is having the value as "category=A1;type=B1;category=A2;type=B2;application=app1;application=app2......"
I want to split this facet as below in the results page.
Kindly let us know is there a way to achieve this functionality in coveo hive.
This is not possible on the UI side of things. However, as the data comes from Sitecore items, you can easily create your own three Computed Index Field C# classes to index this data in 3 different fields: categorytagvalue, typetagvalue, applicationtagvalue.
The C# code must extract the right values from the original string.
Then you create 3 facets, one on each computed index field.