internal static bool RestoreIndexOnStartup() { if (_instance == null) return true; return _instance._settings.RestoreIndex; }