Fixed typ0 and creation of solr base dir.