Fixed bug when solr url is string, not unicode