Using material_type to group search results