Thursday, 7 August 2014

Difference between content search web part and content query WebPart

Content Search Web Part is new in SharePoint 2013.

Following are the major differences between Content Search Web Part and Content Query Web Part.

Content Search Web Part
Content Query Web Part
Returns result  from search index of indexed content
Returns result from non-indexed content  as well as indexed content
Returns result from the latest crawl, so if crawling is not done frequently, search result might not be latest
Use content query web part to get fresh and latest result
Since search crawls the major version of content , search result from minor version of content is not returned
Content query web part returns result from minor version of content also
If site is marked as “not to be indexed” by site administrator ,result in content search web part will not appear
Use content query web part to search non- indexed content result
Content search web part can be configured to access data from anywhere within SharePoint
Content query web part can show result from within the site collection

No comments:

Post a Comment