Try our conversational search powered by Generative AI!

UnifiedSearch to get Facets for all pageTypes



Is it possible to create a Search Results page using Episerver FIND on 7.5 using UnifiedSearch to get Facets for all pageTypes and then use these facets to filter the results (by Page Type)?



Mar 27, 2014 9:16


you could use the search type name, just make sure that it return PageTypeName instead of the default implementation. For example, put this in your page type base class:

        public string SearchTypeName
            get { return PageTypeName; }


Optionally, you could try:

 .TermsFacetFor(x => ((PageData)x).PageTypeName)


and then fetch the result by:

.TermsFacetFor<PageData>(x => x.PageTypeName)



Mar 27, 2014 10:58
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.