http://www.sitecore.net/Learn/Blogs/Technical-Blogs/Getting-to-Know-Sitecore/Posts/2013/05/Sitecore-7-Search-Provider-Part-4-Controlling-Which-Items-Get-Indexed.aspx