make the solr url optional