Saturday, February 9, 2013

Content Search Web Part in SharePoint 2013

In this post we will discuss about the new Content search webpart which was introduced in SharePoint 2013.

You can also check my previous posts on: New microblogging features in SharePoint 2013, SharePoint 2013 workflow development tools and New master pages in SharePoint 2013.

SharePoint Server 2013 has added a new Content Search Web Part that displays content that was crawled and added to the search index.
To display content in the Content Search Web Part, you specify a query in the Web Part. This query is automatically issued, and it returns results from the search index when users browse to a page that contains the Content Search Web Part.

The Content Search Web Part is especially powerful when it is used in combination with managed navigation and category pages.

How it works:
Content Search Web Part displays search results in a way that you can easily format. Each Content Search Web Part is associated with a search query and shows the results for that search query.

When to use:
The CSWP can return any content from the search index. Use it on your SharePoint 2013 sites when you are connecting to a search service and want to return indexed search results in your pages.

If site collection administrators mark sites to not be indexed, then the marked content will not available in Content Search Web Part.

Content Search Web Part is available inside Content Rollup web part categories with the name as Content Search.