abstract search parameter to config file