added config to enable/disable solr integration