OPAL-1583: Delete data folder and improved error reporting when changing search config