Consider the following scenario. You install Microsoft Office Web Apps on a Microsoft SharePoint Server 2010 server. You search for files in a document library as an anonymous user. In this scenario, the search does not return all the files that match the search conditions.
To resolve this issue, apply the following hotfix updates:
2536591 Description of the SharePoint Foundation 2010 hotfix package (sts-x-none.msp): June 30, 2011
2536588 Description of the SharePoint Server 2010 hotfix package (osrchwfe-x-none.msp): June 28, 2011
After you install these hotfix packages, follow these steps to enable the fix:
Set the ShowResultsWithPartialPermissions property to 1. To do this, use the following PowerShell command:
$app = Get-SPEnterpriseSearchServiceApplication
Run a full crawl.
Note After you set the ShowResultsWithPartialPermissions property to 1, the following situation may occur:
If a user who has View Only permission directly clicks a document that is listed in the search results, the user will receive the following error message:
401 ACCESS DENIED
In this situation, the user must click the View in Browser link that is available under each search result to access the document. Additionally, the user may access segments of other list items in the search results that require additional permissions. These conditions also apply to anonymous users.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.