search function with tags and multiple keywords