Code cleanup.
Fix typo.
Fix private/ disabled.
Merge pull request #2995 from openscholar/1307

Exclude private/ disabled content from Solr search