with search results with categories as primitive types