Using Regex in realtime recommendations filtering
In the documents for the realtime recs filter there is this text:
-
value: Parameter for filter value by condition. Regular-expressions are not supported for realtime filters (can and should be added as additional conditions to the filter)
https://support.dynamicyield.com/hc/en-us/articles/360022557954-Recommendations-Client-Side-APIs#return-recommendation-realtime-filter-data-0-4
Can you please clarify what the comment in the brackets mean? Does this mean it might be added later? Or is there another way to currently use regex as a filter condition.
What I am trying to do is create a gift finder tool where the user can select their interests from a list and it will return recommendations based on that. This list of interests is 10-20 items and the user can select multiple. I want to be able to use the realtime filter to return the products however it seems I'll run into issues if I'm creating more than 10 "CONTAINS" filters. So I wanted to know if there's currently any way to use regex instead and I was confused by the documentation.
Thanks
Please sign in to leave a comment.
Comments
0 comments