adding comments and taking out debug statements for post to solr index.