clean up of method addToSolr