Best Bets: Use Multiple Keywords?

We are using Best Bets and I would like to enter multiple keywords that will cause the best bet to show. However, it seems that using a comma separated list of keywords doesn’t work.

Is this correct? Does the best bets “trigger keywords” only allow one keyword to be used? We have about 12 keywords that we want associated with a best bet. Do I really have to duplicate the best bet 12 times for this?

Hi,

There is an open feature request for defining multiple triggers for a best bet as it isn’t simple to achieve currently.

There are two options you can use to create a best bet with multiple triggers (three if you include the one you mentioned about repeating the best bet with different triggers).

Use a regex trigger for your best bet.

This uses a regular expression to match against the search and trigger the best bet. You can list multiple triggers in here but regular expression syntax is complicated.

If you wanted to trigger your best bet using:

  • example
  • example2
  • another example

You would need to use a regular expression similar to:

\bexample\b|\bexample2\b|\banother\s+example\b

If you don’t know about regular expressions:

  • \b indicates a word boundary and should be put at the start and end of each word (otherwise you’ll match substrings within a word.
  • | is used to delimit the keywords (it’s an OR in the regular expression)
  • \s+ indicates that there are 1 or more whitespace characters

Use curator do define your best bets

Curator can also be used to define your best bets (which are actually a special type of curator rule behind the scenes). The curator interface natively supports setting multiple triggers, and for a best bet you need to use the display an advert option.

However, if you use curator to produce your best bets you will may need to amend your search template or code that displays the best bets to also handle the advert curator assets. The default template will display these, however I’m not sure off hand if they are displayed in the same manner as best bets as best bets have a special flag on then to say this is a best bet.

I hope this helps a bit. I’ve also updated the feature request ticket to indicate that this has been requested again.

Thank you! I ended up using the regex option which work perfectly!