Skip to content

Suggestions

Suggestions in Ecommerce Search are phrases suggested to the user while the user is typing in the search box on a webshop. The purpose of these suggestions is to guide the user to choose a phrase that gives the most relevant results.

Suggestions are generated from stored suggestions candidates with the text from the suggestion candidate. The suggestion candidates are read by Ecommerce Search and converted into suggestions in regular intervals of once every day.

Suggestions candidates

Suggestions candidates are used to generate suggestions. Examples of suggestion candidates might be parts of the product description, proper names, or popular search phrases.

Sources

Suggestion candidates can come from a number of sources. Some could be:

  • Product names
  • Brands
  • Top 1000 searches from Google Analytics

Management

The suggestion candidates are created automatically, so there is no UI for creating them.

Suggestion candidates can be generated from product data by using Suggestion Generator Rules.

The following functionality is available in the UI and in the API:

  • Search returns suggestion candidates matching the phrase, segmentId, and datasource in the request. Paging is also available.
  • Get returns the suggestion candidate that has the supplied id.
  • Create creates a suggestion candidate.
  • Update updates the suggestion candidate with the supplied id.
  • Delete deletes the suggestion candidate with the supplied id.

Taboos

Suggestions Taboos are used to avoid creating suggestions containing any taboo phrases. It can be because of regulatory requirements. An example could be painkillers.

Searching for suggestions will return results even if the word is not complete (partial matches) and if it is spelled incorrectly (fuzzy search). So a search for “bic” or “bick” can return “bicycle” as a suggestion.

Suggestion relevance

Suggestions have a simple boosting model. First they are boosted on:

  • Exact match: highest
  • Partial match: highest
  • Compound word: medium
  • Fuzzy: medium
  • Partial fuzzy: lowest

Secondly suggestions are boosted by the number of times the phrase has been used in a full-search during the last 30 days.

Finally suggestions are boosted on how many products match the suggestion phrase.

Example

  • "Chai tea": last 30 days searches: 100, matching products: 3
  • "Chainsaw": last 30 days searches: 100, matching products: 5
  • "Charger 24v": last 30 days searches: 250, matching products: 1

If a user searches for "cha" the sorting of the suggestions would be:

  • "Charger 24v"
  • "Chainsaw"
  • "Chai tea"