use the more forgiving search function in postgresql