Administering and Configuring Sharepoint Search

A. Creating Content For Search
A. 1. Explore Sharepoint Content
  1. Log on to SP2010-WFE1 as CONTOSO\Sp_Admin with its password.
  2. Open Internet Explorer.
  3. In the address bar, type http://intranet.contoso.com/sites/IT, then press ENTER.
  4. In the Quick Launch, click Shared Documents.
  5. Observe that the library includes the documents IT Policies and Procedures  for Sharepoint 2010 and Sharepoint Governance Plan.
  6. In the Quick Launch, click All Site Content, and then click Announcements.
  7. Observe the two announcements, WSS Stands for Windows Sharepoint Services and Sharepoint is great!
  8. In the global navigation, click the Home tab.
A. 2. Create a Shared Folder
  1. Open the C drive.
  2. In the toolbar, click New Folder
  3. Type Data, and press ENTER.
  4. Right-click Data, and then click Properties.
  5. Click the Sharing tab.
  6. Click Advance Sharing.
  7. Select the Share this folder option.
  8. Click Permissions.
  9. Click the Allow option next to Full Control.
  10. To close all dialogs, click OK, click OK again, and click Close.
  11. Double-click Data.
  12. On the toolbar, click New Folder.
  13. Type Temporary Drafts, and press ENTER.
  14. Close window Data
A. 3. Add Files to the Share Folder.
  1. Click Start, and click Notepad.
  2. Type the following:
    Sharepoint is able to index files in a shared folder.
  3. Click File, and click Save.
  4. Click File name box, type C:\Data\Sharepoint Search, and press ENTER.
  5. Click File, and click New.
  6. Type the following:
    Sharepoint crawl rules allow you to manage the content that is included and excluded.
  7. Click File, and click Save.
  8. In the File Name box, type C:\Data\Temporary Drafts\Crawl Rules, and press ENTER.
  9. Close Notepad.
  10. Copy D:\files\Sharepoint Governance Checklist.pdf to C:\Data.
 B. Creating an Enterprise Search Center Site.
B. 1. Attempt to create a Search Center
  1.  Switch to the instance of Windows Internet Explorer that displays the Information Technology Web.
  2. Click Site Actions, and then click New Site.
  3. In the Filter By panel, click Search.
  4. Click Enterprise Search Center.
  5. In the Title box, type Search Center
  6. In the URL name box, type Search
  7. Click Create.
    An error message appears.
    Note: The Microsoft Sharepoint Server Publishing Infrastructure feature must be active to create a Web suing the Enterprise Search Center site definition. You can create a Web using the Basic Search Center site definition without activating the Sharepoint Server Publishing infrastructure feature.The Sharepoint Server Standard Site Collection Features feature must also be active before you can create a Web with either site definition.
  8.  Close the error message, and close the Create page.
B. 2. Enable Sharepoint Search features
  1.  Click Site Actions, and click Site Settings.
  2. In the Site Collection Administration section, click Site Collection Features.
  3. In the Sharepoint Server Publishing Infrastructure row, click Activate.
  4. Wait for the page to refresh, and confirm that the feature's status is Active.
 B. 3. Create a Search Center
  1.  Click Site Actions, and click New Site. The Create page opens.
  2. In the Filter By panel, click Search.
  3. Click Enterprise Search Center.
  4. In the Title box, type Search Center
  5. In the URL name box, type Search
  6. Click Create. A Search Site is created.
 B. 4. Test the Search Center
  1.  In the search box, type procedures, and press ENTER. The file IT Policies and Procedures for Sharepoint is returned in the list of results.
  2. In the search box, type index, and press ENTER. No results are returned.
  3. In the search box, type excluded, and press ENTER. No results are returned.
C. Creating and Configuring a Content Source.
C. 1. Create a content source.
  1. Open Sharepoint 2010 Central Administration.
  2. Click Yes.
  3. In the Quick Launch, click Application Management.
  4. In the Service Applications section, click Manage service applications. The Search Administration page opens.
  5. In the Quick Launch, in the Crawling section, click Content Sources.
  6. Click new Content Source.
  7. In the Name box, type Shared Folder - Data.
  8. In the Content Source Type section, click File Shares.
  9. In the Start Addresses box, type \\sp2010-wfe1.contoso.com\Data.
  10. Scroll to the Start Full Crawl section, select the Start Full crawl of this content source option, and then click OK. A new content source is created and a full crawl is started.
  11. Click Refresh above the list of content sources. Repeat this step to refresh the page until the Status column of the Shared Folder - Data row displays Idle.
C. 2. Test the content source
  1. Switch to the instance of internet explorer that displays the Search Center.
  2. In the search box, type index, and press ENTER. The file Sharepoint Search.txt is returned as a result.
  3. In the search box, type excluded, and press ENTER. The file Crawl Rules.txt is returned as a result.
C. 3. Create a crawl schedule
  1. Switch to Sharepoint 2010 Central Administration
  2. Point at Shared Folder -Data, click the drop-down arrow, and click Edit.
  3. In the Crawl Schedules section, under Full Crawl, click the Create schedule. The manage schedules page opens.
  4. In the Settings section, select the Repeat within the day option.
  5. In the Every box, type 60, click OK, and click OK again.
C. 4. Create a crawl rule
  1. In the Quick Launch, in the Crawling section, click Crawl Rules.
  2. Click New Crawl Rule.
  3. In the Path box, type \\sp2010-wfe1.contoso.com\Data\Temporary Drafts\*.
  4. Examine, but do not change, the other settings on the page, and click OK.
C. 5. Crawl a content source
  1. In the Quick Launch, in the Crawling section, click Content Sources.
  2. Point at Shared Folder - Data, click the drop-down arrow, and click Start Full Crawl.
  3. Click Refresh above the list of content sources. Repeat this step to refresh the page until the Status column of the Shared Folder - Data row displays Idle.
D. Configuring File Types: Search for an existing PDF File
  • In the search box, type governance, and press ENTER. 
  • Add a file type for PDFs.
    1. Switch to Sharepoint 2010 Central Administration.
    2. In the Quick Launch, in the Crawling section, click File Types. The Manage File Types page opens.
    3. Click New File Type
    4. In the File extension box, type pdf, and click OK.
  • Crawl a content source.
    1. In the Quick Launch, in the Crawling section, click Content Sources.
    2. Point at Shared Folder -Data, click the drop-down arrow, and click Start Full Crawl.
    3. Click Refresh above the list of content sources. Repeat this step to refresh  until Status column of the Shared Folder -Data row displays Idle.
E. Configuring Search Settings
E. 1. Explore query crawl logs

  1. Switch to Sharepoint 2010 Central Administration.
  2. In the Quick Launch, in the Crawling section, click Crawl Log.
  3. Click Shared Folder-Data.
  4. Examine the crawl history of the Shared Folder - Data content source.
  5. Above the list, click URL.
  6. Examine the crawl history for each URL that has been indexed.
  7. Examine the list to locate the URL for the file sharepoint governance checklist.pdf. If the URL does not appear, wait a few moments, and click the Search button.
E. 2. Configuring the default content access account.
  1. In the Quick Launch, click Search Administration.
  2. In the Default content access account row, click CONTOSO\SP_ServiceApps.
  3. In the Account box, type CONTOSO\SP_Crawl.
  4. In the Password and Confirm Password boxes, type its password, click OK.
E. 3. Add a server name mapping
  1. In Quick Launch, in the Crawling section, click Server Name Mappings. 
  2. Click New Mapping.
  3. In the Addresses in index box, type \\sp2010-wfe1.contoso.com
  4. In the Address in search results box, type \\localhost, and click OK.
E. 4. Crawl a content source
  1. In the Quick Launch, in the Crawling section, click Content Sources.
  2. Point at Shared Folder - Data, click the drop-down arrow, and click Start Full Crawl.
  3. Click Refresh above the list of content sources. Repeat this step to refresh until the Status column of the Shared Folder - Data row displays Idle.
E. 5. Configure crawler impact rules.
  1. In the Quick Launch, in the Crawling section, click Crawler impact Rules.
  2. Click add Rule.
  3. In the Site box, type SP2010-WFE1.
  4. Click request one document at a time and wait the specified time between requests.
  5. In the Time to wait box, type 30, and click OK.