- The search query was poorly chosen, overly specific, or misspelled.
- The search engine cannot figure out the correct interpretation of the query.
- The retailer does not offer a solution to the visitor’s problem.
Adding related searches to the search result page
The related searches are returned as a field,relatedSearches, in the search page response. The field will include simple queries when the primary list contains fewer than 100 products. In addition, queries can be relaxed by removing soft criteria such as color, size, and material but retaining more complex requirements such as product type and brand. Note that the actual rules for relaxing queries are subject to change without notice.
Enabling related searches on the front end
- Ensure that search criteria relaxation is enabled for the selected cluster. Either contact us, or perform a search page query with a search phrase containing multiple soft criteria and a product type, for example
brown leather bag. If therelatedSearchesfield and thesecondaryListfield are present in the response, the feature is enabled. - Add code to render related searches after the primary list in the front end.
Pseudo code
- Set the search origin to
RELATED_SEARCHESin the request. - Verify that the code is working and that clicking a link shows a new search result page with the query replaced and all filters and sort orders reset.
Adding a secondary list to the search result page
While related searches make it easier for visitors to restate their queries explicitly, they can be hard to notice at a quick glance. Also, it is not apparent that the results will be any more valuable than the current result. To further increase the probability of visitors finding what they are looking for, Elevate also offers a secondary result list. The secondary list is populated with products that do not strictly adhere to the original search phrase but that Elevate still believes to be reasonable candidates, should the primary list be insufficient. Typically, the secondary list contains products from the results of the relaxed queries. Some queries may also include products found by lower-probability interpretations that would otherwise obfuscate the primary list. When search criteria relaxation is enabled, Elevate expects the site to render both related searches and a secondary list when they are non-empty.Rendering the secondary list on the front end
- Ensure that search criteria relaxation is enabled for the selected cluster. Either contact us, or perform a search page query with a search phrase containing multiple soft criteria and a product type, for example
brown leather bag. If therelatedSearchesfield and thesecondaryListfield are present in the response, the feature is enabled. - Add code to render the secondary list after the primary list (and before the related searches) in the front end.
Pseudo code
- Add code to check if
viewAllSecondaryis set to true when the search result page is loaded. If so, addviewAllSecondary=trueas a parameter to the Elevate search-page request too, and replace the heading of the primary results with a message sayingProducts related to <q>. - Verify that the code is working and that clicking a link in the secondary list shows a new search result page with the same query but with
viewAllSecondaryset and the heading modified. The primary list now includes all the items from the secondary list, and the secondary list has been emptied.

