How to search content from specific document library in Content Search Web Part

Introduction:

In this blog you will see how to search content from specific document library in Content Search Web Part. Please refer my article to know more about content search web part.

Steps to be performed:

  1. Navigate to a SharePoint page.
  2. Click on the Page tab and then click on the Edit button in the ribbon interface.
  3. Click on the Insert tab and then click on the Web Part button in the ribbon interface.
  4. Click on the Content Rollup category, select Content Search and then click on the Add button.
  5. Edit the web part and click on the Change Query button in the Properties section.
  6. Select Documents (System) from the “Select a Query” dropdown list.
  7. In the Restrict by app section, select “Specify a URL” from the drop down list and specify the document library URL (https://c986.sharepoint.com/Translated Documents/) in the text box.

  8. Click on the Ok button.
  9. Click on the Save button in the ribbon interface.
  10. All the documents from the document library are displayed as shown below.

Output:

 
Summary:

Thus in this blog you saw how to display content from specific document library in content search web part.