public SingleIndexConfiguration(IndexConfiguration clientConfiguration, RavenConfiguration databaseConfiguration) : base(databaseConfiguration) { _databaseConfiguration = databaseConfiguration; Initialize( key => new SettingValue(clientConfiguration.GetValue(key) ?? databaseConfiguration.GetSetting(key), databaseConfiguration.GetServerWideSetting(key)), databaseConfiguration.GetServerWideSetting(RavenConfiguration.GetKey(x => x.Core.DataDirectory)), databaseConfiguration.ResourceType, databaseConfiguration.ResourceName, throwIfThereIsNoSetMethod: false); }