In case you are in love in SXA and using the Search result component in order to display the result.
Here are quick notes before you start.
Fist and foremost you need to Enable the Lucene or Solr Search configuration so we can go ahead and index the data.
By Default, all the template which inherits from _searchable is getting displayed in the
search result.
However, we had a requirement to limit for only given template type so only those search result is displayed.
Cool, this can be achieved using SXA in build scope setting as shown below.
Happy Sitecore SXA.
Here are quick notes before you start.
Fist and foremost you need to Enable the Lucene or Solr Search configuration so we can go ahead and index the data.
By Default, all the template which inherits from _searchable is getting displayed in the
search result.
However, we had a requirement to limit for only given template type so only those search result is displayed.
Cool, this can be achieved using SXA in build scope setting as shown below.
Happy Sitecore SXA.