Best bet doesn't work if phrase contains dash "-"

Fixed in

EPiServer.Find 13.2.6


Sep 01, 2017


Mar 27, 2020


Closed, Fixed and tested


Steps to reproduce

1. Create and publish a page.
2. Create a Best Bet with the below information:
Phrases: one-two
3. Target content link to the page in step1.

3. Go to Find->Configuration->Boosting: Search with keyword one-two
===>Result: Best Bet in step2 isn't found

This issue also happen if phrases contains these characters


I don't know if we support phrases that contains these characters. If we don't support them, users should be prevented from adding best bet that contains these characters.


  1. Users aren't allowed to add best bet phrases that contains other special characters like !*(){}|\....
  2. The previous fix did not target the correct issue. This issue is due to a bug in the boosting widget making best bets not match before sending the actual query to the Find backend.


Users can now add any of the following characters when creating a best bet:
These special characters: ** + - & $ , . _ ,* and unicode characters and numbers.