Add the function of getting tags for each category, in order for future search

...e search