refactor result logging into method and moved logging and email methods to bottom of file
refactor result logging into method and moved logging and email methods to bottom of file
factor add_coll_info method out from sw_solr_doc, and set up Nokogiri xml objects better in indexer spec (fewer calls to Nokogiri)