Create an Enterprise Search Center

Create an Enterprise Search Center and a Custom Search Box Page in SharePoint 2010

  1. Open your SharePoint 2010 Site.
  2. Click Site Actions, and then click New Site.
  3. In the Create dialog box, click the Search category.
  4. Select the Enterprise Search Center template.

    EntShr1.jpg
     
  5. Enter a Title and a URL Name of Documents and click Create.
  6. Click Site Actions, and then click More Options.

    EntShr2.jpg
     
  7. In the Create dialog box, click the Page category.
  8. Select the Publishing Page template, and then click the Create button.

    EntShr3.jpg
     
  9. Enter Documents in the Title text box.
  10. Enter Documents in the URL Name text box.
  11. Select (Welcome Page - Search box) in the Page Layout section list.
  12. Click the Create button.
  13. Click the Save & Close button on the Ribbon.

Create a Custom Search Results Page

  1. Click Site Actions, and then click More Options.

    EntShr4.jpg
     
  2. In the Create dialog box, click the Page category.
  3. Select the Publishing Page template, and then click the Create button.

    EntShr5.jpg
     
  4. Enter a DocumentResults in the Title text box.
  5. Enter DocumentResults in the URL Name text box.
  6. Select (Welcome Page - Search results) in the Page Layout section list.
  7. Click the Create button.
  8. Click the Save & Close button on the Ribbon.

Modify the Search Core Results Web Part to Return Only Documents

  1. Verify that you are on the DocumentResults Search Results page you just created in Exercise 1.
  2. Click Site Actions, and then click Edit Page.
  3. Locate the Bottom Zone in the Web Part page.
  4. Locate the Search Core Results Web Part.
  5. Hover your mouse over the upper-right corner of the Web Part until a down-arrow displays. Click the down-arrow to display the Web Part menu.

    EntShr6.jpg
     
  6. Click Edit Web Part.
  7. Locate the Search Core Results tool pane in the upper-right corner of the Web Part page. Expand the Result Query Options section.
  8. Enter IsDocument:1 into the Append Text To Query text box.

    EntShr7.jpg
     
  9. Click the OK button of the Search Core Results tool pane.
  10. Click the Save and Close button to save and close the DocumentResults.aspx page.

Add a Custom Tab to the Search Center and Modify the Search Box Web Part

  1. Navigate to the library we created in the first session step 5.
  2. Click Site Actions, and then click Edit Page.
  3. Locate the Add New Tab link and click it.

    EntShr8.jpg
     
  4. In the Tabs In Search Pages item dialog, enter a Tab Name of Just Documents.
  5. Enter documents.aspx in the Page text box.
  6. Click the Save button.
  7. Click the Browser Refresh button so the Just Documents tab displays.
  8. Click Site Actions, and then click Edit Page.
  9. Locate the Search Box Web Part.
  10. Click the upper-right corner down arrow to display the Web Part menu.

    EntShr9.jpg
     
  11. Click Edit Web Part.
  12. Locate the Search Box tool pane in the upper-right corner of the Web Part page. Expand the Miscellaneous section.
  13. In the Target search results page URL, enter documentresults.aspx.

    EntShr10.jpg
     
  14. Click the OK button of the Search Box tool pane.
  15. Click the Save and Close button to save and close the default.aspx page.

    EntShr11.jpg