I'm using Search API to index and search my site. The site has several content types. I'd like the search results to be clustered by the content types. Specifically, I have a content type called "Programs". I'd like search results from this content type to always be presented first. Then, content from all other content types can be displayed.

How would I achieve this? I used this tutorial to set up the Search API and the search results view: https://www.electriccitizen.com/blog/drupal-8-custom-site-search-search-api

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.