Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Using SearchCategories from UnifiedSearchHit

Vote:
 

I have a search type BlogItem which has the property for SearchCategories. How can I use these when rendering my result from a UnifiedSeachHit?

The UnifiedSearchHit class don't seem to have any matching property to SearchCategories. Are these Search-prefixed properties in unified search only used for filtering and such?

How can I achieve this? I'd rather not write html in SearchSummary as that could result in broken html since the search limits the number of characters in the summary.

A last resort would be to invoke the OriginalObjectGetter and create a projection to fetch the original type but that would make the search result take forever to load as I would have to fetch the blog item from the RSS feed it originated from.

#82225
Mar 07, 2014 16:49
Vote:
 

How does the code for your SearchCategories prop look? Does it correspond with implementing ISearchContent?

#85704
May 02, 2014 12:00
* 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.