corrected solr directory generation