added a java 8 warning
refactored solr run macro