Export (0) Print
Expand All

Deploy people search in SharePoint Server 2013

 

Applies to: SharePoint Server 2013

Topic Last Modified: 2014-04-23

Summary: Learn how to make people search work in SharePoint Server 2013.

People search is a SharePoint feature that allows users to get information about people in the organization and to get links to the documents that they have authored. Users can access this feature by entering a search query in the enterprise Search Center search box and clicking the link for the People search vertical.

A search vertical filters search results so that only a certain subset of all relevant results is displayed. SharePoint Server 2013 provides four preconfigured search verticals: Everything, People, Conversations, and Videos. You can see the links for these search verticals in the Search Navigation Web Part, which is below the search box in the enterpirse Search Center, as shown in the following screen shot.

When a user enters a search query in the search box and then clicks one of the search-vertical links, the Search system returns search results that correspond to that search vertical only. For example, if the user enters Microsoft Azure in the search box and then selects the People search-vertical link, the Search system returns only search results that are people in your organization who are involved with Microsoft Azure.

This article describes the prerequisites that you must complete to make people search possible, and addresses other considerations related to making people search work.

In this article:

NoteNote:
Regarding accessibility: SharePoint supports the accessibility features of common browsers to help you administer deployments and access sites. For more information, see Accessibility for SharePoint 2013.

People search has the following prerequisites:

To set up people search, you must configure My Sites settings and configure crawling.

You configure My Sites for a User Profile service application to specify the My Site host location and other settings. For more information, see Plan for My Sites in SharePoint Server 2013 and Configure My Site settings for the User Profile service application.

After you configure My Sites settings, the next step is to configure crawling.

When you configure My Sites, the default content access account for search is automatically given Retrieve People Data for Search Crawlers permissions in the User Profile service application. If you want to use a different content access account to crawl the profile store, you must make sure that the account has permissions to crawl the profile store. Use the following procedure to grant access to the profile store for a different account.

To grant access to an account to crawl the profile store
  1. Verify that the user account that is performing this procedure is an administrator for the Search service application.

  2. Start SharePoint 2013 Central Administration.

    • For Windows Server 2008 R2:

      • Click Start, click Microsoft SharePoint 2013 Products, and then click SharePoint 2013 Central Administration.

    • For Windows Server 2012:

      • On the Start screen, click SharePoint 2013 Central Administration.

        If SharePoint 2013 Central Administration is not on the Start screen:

      • Right-click Computer, click All apps, and then click SharePoint 2013 Central Administration.

    For more information about how to interact with Windows Server 2012, see Common Management Tasks and Navigation in Windows Server 2012.

  3. In Central Administration, in the Application Management section, click Manage service applications.

  4. On the Manage Service Applications page, click the row that contains the User Profile service application, and then in the ribbon, click Administrators.

  5. In the Administrators for User Profile Service Application dialog box, in the To add an account box, type a user account in the form domain\user name.

  6. Click Add.

  7. In the Permissions list, select the Retrieve People Data for Search Crawlers check box.

  8. Click OK.

After you give the account access to crawl the profile store, you must create a crawl rule to specify that you want to use that account when you crawl the profile store. Use the following procedure to create a crawl rule for this purpose.

To create a crawl rule to authenticate to the User Profile service application
  1. Verify that the user account that is performing this procedure is an administrator for the Search service application.

  2. In Central Administration, in the Application Management section, click Manage service applications.

  3. On the Manage Service Applications page, click the Search service application for which you want to create a crawl rule.

  4. On the Search Administration page, in the Quick Launch, in the Crawling section, click Crawl Rules.

  5. On the Manage Crawl Rules page, click New Crawl Rule.

  6. In the Path section, in the Path box, type the start address for the User Profile service application in the form sps3://My_Site_host_URL, where My_Site_host_URL is the URL for the Web application where you deployed the My Sites site collection.

    If the web application where you deployed the My Sites site collection uses Secure Sockets Layer (SSL), then type the start address in the form sps3s://My_Site_host_URL.

  7. Click Use regular expression syntax for matching this rule if you want to use regular expression syntax in the path.

  8. In the Crawl Configuration section, select Include all items in this path.

  9. In the Specify Authentication section, select Specify a different content access account.

  10. In the Account box that appears, type the user account to which you gave access to the profile store in the form domain\user name.

  11. Type the password for the account that you specified in the Password and Confirm Password boxes.

  12. Clear the Do not allow Basic Authentication check box only if you want to allow the user account credentials to be sent as plaintext.

    NoteNote:
    You should not clear the Do not allow Basic Authentication check box unless you are using SSL to encrypt the website traffic. For more information, see Plan for user authentication methods in SharePoint 2013.
  13. Click OK.

For more information, see Manage crawl rules in SharePoint Server 2013.

When you configure My Sites, the starting URL to crawl the profile store (sps3://My_Site_host_URL or sps3s://My_Site_host_URL) is automatically added to the preconfigured content source Local SharePoint Sites. We recommend that you remove the URL of the profile store from the preconfigured content source and then create a separate content source to crawl only the profile store. This allows you to crawl the profile store on a different schedule from other crawls.

Use the following procedure to remove the URL of the profile store from the preconfigured content source.

To remove the profile store URL from the preconfigured content source
  1. Verify that the user account that is performing this procedure is an administrator for the Search service application.

  2. In Central Administration, in the Application Management section, click Manage service applications.

  3. On the Manage Service Applications page, click Search Service Application.

  4. On the Search Administration page, in the Quick Launch, in the Crawling section, click Content Sources.

  5. On the Manage Content Sources page, click the link to the preconfigured content source (Local SharePoint sites).

  6. In the Start Addresses section, remove the URL for the profile store (sps3://My_Site_host_URL or sps3s://My_Site_host_URL, where My_Site_host_URL is the URL for the web application where you deployed the My Sites site collection).

  7. Click OK.

    Use the following procedure to create a content source that specifies how to crawl the profile store. For more information, see Add, edit, or delete a content source in SharePoint Server 2013.

To create a content source that specifies how to crawl the profile store
  1. Verify that the user account that is performing this procedure is an administrator for the Search service application.

  2. In Central Administration, in the Application Management section, click Manage service applications.

  3. On the Manage Service Applications page, click Search Service Application.

  4. On the Search Administration page, in the Quick Launch, in the Crawling section, click Content Sources.

  5. On the Manage Content Sources page, click New Content Source.

  6. On the Add Content Source page, in the Name section, type a name for this content source.

  7. In the Content Source Type section, ensure that SharePoint Sites is selected.

  8. In the Start Addresses section, type the start address in the form sps3://My_Site_host_URL, where My_Site_host_URL is the URL for the web application where you deployed the My Sites site collection.

    If the web application where you deployed the My Sites site collection uses SSL, then type the start address in the form sps3s://My_Site_host_URL.

  9. In the Crawl Settings section, leave the default value of Crawl everything under the host name for each start address.

  10. In the Crawl Schedules section, do the following:

    • Select Enable Continuous Crawls or Enable Incremental Crawls.

      A continuous crawl automatically provides maximum freshness for the content source without an incremental crawl schedule. For more information, see Manage continuous crawls in SharePoint Server 2013.

      If you select Enable Incremental Crawls, create an incremental crawl schedule.

    • Optionally create a schedule for full crawls.

  11. If you selected Enable Incremental Crawls, in the Content Source Priority section, select the priority for this content source.

    NoteNote:
    The Content Source Priority section does not appear when you specify the content source type as SharePoint Sites and you select Enable Continuous Crawls.
  12. Click OK.

To get the best results from people search, you should add as much information as you can by adding user profiles to the profile store and adding information to My Sites.

Before you can obtain meaningful people search results, you must add user profiles to the User Profile service application. You can do this in the following ways:

ImportantImportant:
For a test environment, we recommend that you do not synchronize the profile store to a directory service or other external data source that is in a production environment. Instead, create a copy of the directory service and synchronize the copy with the profile store.

Use the following procedure to view the user profiles in the User Profile service application.

To view a list of user profiles in the User Profile service application
  1. Verify that the user account that is performing this procedure is an administrator for the User Profile service application.

  2. In Central Administration, in the Application Management section, click Manage service applications.

  3. On the Manage Service Applications page, click the User Profile service application.

  4. On the Manage Profile Service page, in the People section, click Manage User Profiles.

  5. On the Manage User Profiles page, in the Find profiles box, type the name of the domain of which the users are members.

    Do not type the fully qualified domain name. For example, if users are members of the Contoso.com domain, type Contoso in the Find profiles box.

  6. Click Find.

My Sites keep information in the User Profile service application databases. The User Profile service application stores much of the information that appears in results for people search. People search results become more useful as users add more information to their My Sites.

The first time that a user accesses their My Site, also known as their personal site, a My Site is created for them and a profile is automatically added to the User Profile service application.

To add information to a user's My Site, log on as a user for whom a user profile was created in the User Profile service application, and then go to that user’s My Site. In the user’s My Site, you can provide information about the user’s expertise and interests. To see how the information that you added affects the people search results that appear, perform a crawl of the profile store, and then search on the user's name.

You are now ready to crawl the profile store. For information about how to start the crawl, see Start, pause, resume, or stop a crawl in SharePoint Server 2013.

NoteNote:
We recommend that you crawl the profile store and wait about two hours after the crawl finishes before you start the first crawl of the preconfigured content source (that is, local SharePoint sites). After the crawl of the profile store finishes, the search system generates a list to standardize people's names. This is so that when a person's name has different forms in search results, the results are displayed in a single group corresponding to one name. For example, all documents authored by Anne Weiler or A. Weiler or alias AnneW can be displayed in the search results in a result block that is labeled "Documents by Anne Weiler". Similarly, all documents authored by any of those identities can be displayed under the heading "Anne Weiler" in the refinement panel if "Author" is one of the categories there.
For information about how to view the status of a crawl, see Start, pause, resume, or stop a crawl.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft