Try our conversational search powered by Generative AI!

Get all categories from search result

Vote:
 

Hi,

We are changing our customers search from SiteSeeker (implemented before I started) to Episerver Find, but we want the search page to look the same.
The current search page have a list of all the categories from the current search result, to be able to filter if the user wants to.
In SiteSeeker we seem to get the categories by getting them from result.Facets.
With the same pages and the same search word, in Episerver Find, the result.Facets is null.
Is there some way to get a list of all the categories from the current search result (not all the categories on the site) in Episerver Find?

Edit: We are using UnifiedSearch.


Best Regards
Niklas Grushult

#205161
Edited, Jul 01, 2019 10:57
Vote:
 

Hi David,

Thank you so much! I had missed the part where I had to add the TermsFacetsFor in the query too.

Have a great day!


Best Regards
Niklas

#205218
Jul 02, 2019 8:01
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.