Wednesday, May 18, 2011

Exclude crawling content based on creation date

One of my colleagues wants to exclude file / documents from the search result based on their creation date.
Steps taken to achieve:
There is a provision in MOSS 2007 to exclude specific contents from indexing using Crawl Rule. But it’s not possible to exclude contents based on creation date.
We have set - Information management policy on a doc lib and set Expiration policy which will start the workflow and move documents to another doc lib (i.e. Archive) based on their creation date
(To create custom workflow to move doc from one lib to another please refer
And on Archive Doc Lib select “No” to appear in search result option which will not crawl the content of that doc lib.

No comments:

Popular Posts


The opinions expressed on this blog are the personal views of Pratik's SharePoint Blog, and do not represent or reflect the viewpoints or policies of any past, present, or future employer, colleague, or customer, or any other entity. The posts on this blog are provided ‘as is’ with no warranties, express or implied, and confer no rights. Use of information contained within this blog, including specific technical steps mentioned herein, is at your own risk. References to specific software products, processes, resources, or companies do not imply any endorsement.