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

Try our conversational search powered by Generative AI!

Find in Alloy Template - modifying the unified search excerpt

Vote:
 

I'm new to find and am struggling with the lack of full sample site to work on. 

I'm using the Find 13.0.1 and CMS 11.9.0

So I only really have the alloy findSearchPage to work with. 

I'm trying to figure out how the excerpt is being created, because it seems like sometimes it is grabbing fields all over the place depending on the template. 

I'd like to find out more about the Unified Search and how I can adjust the except to something more user frieldly.  I know I can do something using SearchClient.Instance.Conventions.UnifiedSearchRegistry,  But I have no where to impliment this in the alloy findSearchPage controller. 

Any advice on how I can work this in and adjust the except I could get will be very helpful

Thank you!

#194426
Jun 21, 2018 0:27
Vote:
 

It is not written in the examples in the documentation but there are a way to do this with this:
https://world.episerver.com/documentation/Class-library/?documentId=find/8/D8DEC87B

#194428
Jun 21, 2018 8:38
Vote:
 

Thank you Henrik,  I'l have to play around with that and see what I can come up with.

By the wy, the blog posts you wrote on find a while back ago was very helpful.     

#194471
Jun 21, 2018 21:48
Vote:
 

Great that you find it helpful!

Good luck and do not forget to mark the answer as "Mark Answer" if you feel it helped you

#194535
Jun 25, 2018 7:29
* 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.