NAVNEET MATHPAL
NAVNEET MATHPAL

Reputation: 170

how to group or collapse the search results in azure cognitive search

Do we have any feature available on azure cognitive search for collapsing or grouping the results which is a most important and basic search feature available on most of the search engines.

example solr - https://solr.apache.org/guide/6_6/collapse-and-expand-results.htmlhttps://solr.apache.org/guide/6_6/collapse-and-expand-results.html

example - if i have a shirt in 4 different variant and search query returns all the 4 search result we can group them together and show only one result which can be taken as default.

Did anyone achieved this in azure cognitive search ?

Thanks, Navneet

Upvotes: 1

Views: 449

Answers (1)

Thiago Custodio
Thiago Custodio

Reputation: 18387

One thing you can try is, when modeling the index mark the t-shirt size as Facetable.

In the following example, Business Title was marked as Facetable:

enter image description here

Upvotes: 0

Related Questions