Group search errors by search type