People Search relevance is not optimized when the Active Directory has errors in the manager reporting structure (SharePoint Server 2010)

 

Applies to: SharePoint Server 2010

Rule Name:  People Search relevance is not optimized when the Active Directory has errors in the manager reporting structure.

Summary:  In Active Directory Domain Services (AD DS), only company leaders should have the Manager property set to NULL. If the Manager property is set to NULL for other users, people search relevance is reduced. To optimize people search relevance, explicitly specify company leaders. People search can then use this information to improve relevance.

Cause:  Company leaders have not been explicitly specified.

Resolution: Specify company leaders.

  1. Verify that you meet the following minimum requirements: See Add-SPShellAdmin.

  2. On the Start menu, click All Programs.

  3. Click Microsoft SharePoint 2010 Products.

  4. Click SharePoint 2010 Management Shell.

  5. At the Windows PowerShell command prompt, type the following command:

    $upaProxy = Get-SPServiceApplicationProxy <AppID>
    

    where <AppID> is the GUID of the User Profile service application proxy. For more information, see Get-SPProfileLeader.

  6. Type the following command:

    Add-SPProfileLeader -ProfileServiceApplicationProxy $upaProxy -Name "<Domain\UserName>"
    

    where <Domain\UserName> is the user account that you want to add as a leader — for example, Contoso\Joe.Healy. For more information, see Add-SPProfileLeader.

  7. You are prompted to confirm. Type Y to confirm.

  8. Run a full crawl on the content source that contains the start address (URL) of the User Profile application. For more information, see Start, pause, resume, or stop a crawl (SharePoint Server 2010).

Repeat the commands to add more user accounts as company leaders.

For more information, see The *-SPProfileLeader Windows PowerShell cmdlets in SharePoint Server 2010 SP1 (https://go.microsoft.com/fwlink/p/?LinkId=226295).