get category  && keyword search func