Hybrid Search Implementation Guide

Overview

Hybrid Search switches from keyword to unified search based on the number of words in the search string. This is done when unit of measure or advanced SKU searches are critical. The solution takes advantage of the strengths of each search type.

As the image exemplifies, the logic would look something like this:

  • If < few words then call "RequestType":"DefaultSearch",
  • If > few words then call "RequestType":"UnifiedSearch",

Each implementation varies regarding the number of keywords to consider. If long tail queries are the challenge that Unified Search can solve, then the number of words could be quite high - such as 15. If the SKU search is the critical issue, then fewer words, such as 3 would be used.

The rest of the search endpoint remains the same - only the "RequestType" is changed.