Boosting Vertical Intent for Any/All Searches with Regex Expression

Hello,

I have a client who wants the FAQs vertical to be surfaced first for all searches, assuming there are relevant FAQs to show. I’m discussing the implications of this with the client, but in the meantime I’ve been looking into using a Regex Expression for the Query Rule criteria to ensure any and every search you could possibly make will trigger the query rule. If the client decides to pursue this, will the following regex expression accomplish this?

Regex Expression: “.*”

It seems to work during my testing on regex101.com, but I wanted to confirm due to my limited experience with regex. Thank you in advance for the help!

Best,
DJ

Hey DJ,

Yes, that regular expression should capture every search. However, if you’re looking to boost the FAQ vertical for every search, perhaps using the criteria searchTypes = “UNIVERSAL” will simplify things in this case and still capture what you’re looking for.

2 Likes