You can access predictive search results by making requests to the
/search/suggest.json? endpoint in the Shopify Ajax API. Using this method displays products faster than rendering the suggested search results separately with Liquid.
Predictive search is supported for themes that use the following theme languages:
To learn more about how product suggestions are generated and how to implement them in your theme, see Predictive search in the Shopify Help Center.