A best bet is used to feature items outside of the set of search results.
Best bets are completely independent of the search index and can link to items that are not part of the websites that make up the search. They can also be used for promotional purposes to promote a certain page or document based upon a user's query.
The style and appearance of the best bets in the search results is governed by the stylesheets that are applied to the search results template, and the position can be controlled by a search administrator with the ability to edit the templates.
Using best bets
Best bets can be edited within the marketing dashboard. Documentation is available inline by clicking the help icon () on the marketing dashboard best bets panel.
Managing best bets
Best bets are managed from the best bets section of the marketing dashboard. The manager provides tools for creation, editing, cloning and deletion of best bets, and also the ability to publish and unpublish.
If the service does not have any best bets defined the following screen is displayed when accessing the best bets section:
If there are best bets defined a table listing the best bets is displayed. Clicking on a best bet opens the best bet inside the editor. Administrators also have the ability to publish unpublish, clone and delete a best bet
Cloning an item makes a copy of an existing best bet that can then be edited.
Best bets are not available in the live search until they are published. This allows a best bet to be created and tested before release, or staged for later use.
Clicking the add new button opens the best bet editor.
Creating and editing best bets
Best bets are configured using a simple form.
The example below shows the configuration for the best bet that is shown above.
Each best bet requires the following:
- Title: used for the hyperlinked text for the best bet result
- Description: used for the summary text presented below the title. This can include HTML formatting.
- URL: this is the URL to link to when the best bet is clicked on. The URL can be any URL and does not need to be part of the search. There is an option that allows the URL to be removed from the set of search results if it matches the URL for the best bet.
- Trigger: these are the search terms that will cause the best bet to be displayed.
- Trigger type: this controls how Funnelback compares the user’s query to the best bet trigger. There are four types of triggers:
- The search keyword(s) exactly matches: This will only trigger if the user’s keyword is identical to the trigger.
- All words must be present in the search keyword(s), in any order: This is the most commonly used trigger and matches when all the trigger terms appear within the user’s query. E.g. a best bet using a trigger of red wine will appear as long as the words red and wine both appear somewhere in the user’s query.
- Substring match: The best bet is returned if the trigger is a substring of the user’s query. E.g. a best bet with a trigger of red will be returned for the following queries: red wine, reduction, blackened redfish.
- Regular expression match: The best bet is returned if the trigger regular expression matches the user’s query. This is an advanced match type for power users allowing advanced matching such as wildcards. If you are unfamiliar with regular expressions then don’t use this trigger type.
Previewing and publishing
Funnelback provides the ability to preview changes made to best bets and other configuration allowing changes to be made and viewed without the live search being affected.
The changes are then published to make them visible on the live search.
Best bets once live can also be unpublished – this removes them from the live search and allows them to be previewed and edited for future use.
When an item is saved but marked as unpublished it can be viewed by using the search box located at the top of the marketing dashboard and ensuring the preview option is chosen from the drop down.
This will run a search using the live index, but apply anything that is marked as unpublished. This allows a best bet to be created and tested before it is released.
Selecting live from the search box will run the search against the live index applying only configuration that has been published and is equivalent to what public users of the search will see.