title: SharePoint search not indexing contents of document libraries
body: <p>I have a strange problem where the MS Word documents my documemt libraries are not being indexed. When I look at the crawl log I can see that the crawl is indexing the libraries themselves but not any of the documents within them.</p>
  
  <p>I have checked the following setting and it is set to <strong>Yes</strong>: <br></p>
  
  <p>Library settings >>> <br>&emsp;General Settings >>> <br>&emsp;&emsp;Advanced Settings >>> <br>&emsp;&emsp;&emsp;Allow items from this document library to appear in search results?</p>
  
  <p>I have also added the <strong>Default content access account</strong> to the members group of the site (as I want to also index drafts). The documents not being indexed are a mixture of checked in and drafts.</p>
  
  <p>It might be useful to know that the sites containing the document libraries use the Team Site template, the site collection has publishing turned on. Everything was created programatically.</p>
  
  <p>I'm pulling my hair out with this so any suggestions of what I can check or how I can approach this issue would be greatly appreciated - I have only been working with SharePoint for 2 months so I'm still learning.</p>
  
  <p>TIA</p>