Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

How does SharePoint Search handle the indexing of pending (unapproved) items/documents? As far as I can see there are no pending documents in the index. These seems a little odd to me, since it would be nice, if I could search for all pending items in a site or sitecol. Is it possible to change the behavior of indexing pending items?

share|improve this question
add comment

2 Answers 2

up vote 4 down vote accepted

SharePoint Search does by default not index unapproved items as well as draft versions (minor versions). This is so because the search crawling account only has read access to the content and only users with contribute access or better can see unapproved documents and draft versions. Consequently, you could get around the issue by granting contribute access to the search crawling account. But I would not recommend it as your search results will then show documents that are not accessible to users with read-only access.

share|improve this answer
    
Okay thank you. But it is still not quiet clear to me: 1. when I upload a bunch of docs they show that they are pending but also are shown as major versions. 2. Also when I edit an approved document and save it, it goes back to the pending state. But then it doesn't appears in the search results. It is still strange to me –  Flash265 Jun 8 '11 at 17:29
    
Try and enable minor versioning for your document library. Then you can have a last published version that stays in the index while you work on the next major version. Without minor versioning and with content approval enabled the document is removed from the index until you approve the new major version. –  Lars Fastrup Jun 8 '11 at 17:46
add comment

Sharepoint by default only crawls major version of content, because the content acces account only has read permissions one the sharepoint site.

For more details on search and security trimming...

http://support.microsoft.com/kb/2304855

http://www.sharepointblues.com/2010/03/17/draft-item-security-search-results-security-trimming/

Hope it helps.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.