An exception is now thrown if no search fields are defined