In addition to the core search web parts, there are a number of new web parts that are powered by search. The most important of the bunch, without a doubt, is the content search web part.
The content search web part is the evolution of the content query web part from SharePoint 2007/2010. It allows us to display content straight from the search index, based on a query. For example, we can use the content search web part to display the latest document added on a specific site collection (that is, the knowledge center) to any other site collection in our farm using a simple query!
The content search web part infrastructure relies on two factors:
A query built using the query builder
A display template to render the results
We will discuss display the template in detail in Chapter 4,...