Group search results by custom content type category

Hi

I have implemened search for my custom content type:

SearchIndexDocument doc = Apis.Get<ISearchIndexing>().NewDocument(roadTestItem.ContentId, roadTestItem.ContentTypeId,
    RoadTestConstants.RoadTestItemName, roadTestItem.Url, roadTestItem.HtmlName("web"), roadTestItem.HtmlDescription("web"));
doc.AddField(searchIndexing.Constants.IsContent, true.ToString());
doc.AddField(searchIndexing.Constants.ContentID, roadTestItem.ContentId.ToString());
doc.AddField(searchIndexing.Constants.Date, searchIndexing.FormatDate(roadTestItem.CreatedDate));
doc.AddField(searchIndexing.Constants.CollapseField, RoadTestConstants.RoadTestItemNames + ":" + roadTestItem.Name);
doc.AddField(searchIndexing.Constants.Category, RoadTestConstants.RoadTestItemNames);
doc.AddField(searchIndexing.Constants.ApplicationType, RoadTestConstants.RoadTestItemApplicationName);

....



but in search results I still see all my contents in the "All" tab instead of some category:





Can anyone suggest me?



formatting
[edited by: Iurii Luzan at 1:30 PM (GMT 0) on Fri, Jun 11 2021]