Increasing the config values 'unsupported.cypher.idp_solver_table_threshold'

Sometimes I get the following error when querying the database:

Try increasing the config values 'unsupported.cypher.idp_solver_table_threshold' and 'unsupported.cypher.idp_solver_duration_threshold' to allow for a larger sub-plan table and longer planning time.

I want to increase this setting, but such settings do not exist in neo4j 4.
Does anyone know what to do?