I followed the guide via this article: https://www.easternstandard.com/blog/2018/05/drupal-8-search-how-get-better-more-intuitive-search-results-using-search-api

Search API is searching both content and product type (Commerce 2), however, I would like the product type to be displayed first vs the content type, how can this be achieved?

  1. I have tried to boost the "search keyword" field added to the product types
  2. Tried to add a sort order of product titles and then content titles in the views
  3. Set custom boost # in the search api fields tab

I'm not sure what else I can do to get the products to display first.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.