adding solr configuration and Magic configuration.