added support for custom search config under postgresql