Try our conversational search powered by Generative AI!
AI OnAI Off
Hi,
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)
Hi,
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)?
Jon