You can try the “repair” method found under “Database…” menu.
If it is only index files that are missing, they can be recreated.
If you are also missing dblock files, then you (most likely) need to use the purge-broken-files command which is not currently well integrated into the UI.