Show Menu
TOPICS×

About Did You Mean

You can configure Did You Mean so that customers are given suggestions for valid search terms when they have tried searches that have failed. Suggestions are formed by looking for spelling and typing corrections to the search terms that result in a valid search.

Configuring Did You Mean

You can tailor how site search/merchandising makes search suggestions when a customer's query returns no, or minimal, search results.
To configure Did You Mean
  1. On the product menu, click Linguistics > Did You Mean .
  2. On the Did You Mean page, in the Remove these Words from Suggestions text field, enter space or line separated words to filter undesirable suggestions.
    These are words in your search index that do not show up as recommended alternative search terms. You can exclude any word matching a pattern through the use of regular expressions. Otherwise, just the exact word is removed.
  3. Set the Did You Mean options that you want.
    Option
    Description
    Suggestion Algorithm
    Adjusts how far the software goes to find suggestions. If a user makes a one-letter mistake, all of the algorithms come up with the same suggestions. The reason why is because it only takes one edit to arrive at a working suggestion, and all algorithms find words that are close to the original. But when the original search terms are not similar to existing terms in the index, the Deep and Bad Spellers Suggestion Algorithms continue to search for possible suggestions. This scenario is useful if a customer tries a proper name that is hard to type, and they sound out the names. However, if you only want similar suggestions to appear, you can choose the Quick algorithm.
    Default count of suggestions to show
    Specifies the number of Did You Mean term suggestions (0-20) that you want to show when a customer's search returns no results. The default is 3.
    Minimal suggestion word length
    Prunes Did You Mean terms by specifying the minimal number of letters for a suggested word.
    For example, if you set the value to 4, the software does not suggest a word that is 1, 2, or 3 characters long. If you specify a value of 0, no short words are removed from the term suggestions. If you specify a high value, it usually results in no term suggestions. The default value is 3.
    Minimum index frequency
    Specifies the minimum number of times a word has to appear in the index before it is included in the Did You Mean dictionary.
    You cannot specify a negative number in the field.
    Search for suggest term if no results
    Automatically re-searches for the first suggested term when a customer's search yields no results and there is at least one Did You Mean term suggestion.
    You can use the following tags in your presentation template to indicate that site search/merchandising is automatically searching for a different term:
     <guided-if-suggestion-autosearch>     Search for <guided-param gsname="q" /> instead of guided-suggestion-original-query /> </guided-if-suggestion-autosearch>
    You can also show other suggestions here.
     <guided-if-suggestion-autosearch>  There was 0 matches for <guided-suggestion-original-query />   Did You Mean <guided-param gsname="q">? Here are the results for that search.   Or Did You Mean    <guided-suggestions>     <guided-suggestion-link><guided-suggestion /></guided-suggestion-link>    </guided-suggestions> </guided-if-suggestion-autosearch>
    Make suggestions due to low results
    If a customer searches for a term that yields less than ten results, the search engine checks to see if it has a suggestion that can yield more than 100 results. If it does, you can use the following tags to indicate to the user that while they have results, they may have wanted to search for something else:
     <guided-if-suggestion-low-results>   You have a low result count for <Search for guided-param gsname="q">.  Did you mean: <guided-suggestion><guided-suggestion-link><guided-suggestion /></guided-suggestion-link><guided-if-not-last>, </guided-if-not-last></guided-suggestions> </guided-if-suggestion-low-results>
    In the above scenario, the number of suggestions is controlled by the value that is specified in Default count of suggestions to show . The low and high threshold are configurable by the options below.
    Make suggestions when the initial results are fewer than
    Controls the number of results when the system starts to offer suggestions.
    This option appears only when you check Make suggestions due to low results .
    The default is 10.
    A suggestion must generate at least this many results
    Filters suggestions that are made due to low results in primary search by their result count.
    This option appears only when you check Make suggestions due to low results .
    The default is 100.
  4. Click Save Changes .
  5. (Optional) Do one of the following: