The AnalyticsRecommendationScriptWebPart is a Script Web Part base class introduced in SharePoint Server 2013. This Script Web Part renders the refinement of a managed navigation property in the search results.
A managed navigation property refers to the managed property in the search index that contains managed metadata terms which are used to tag items with, and then used for managed navigation on the site.
For example, if you have a navigation term set containing the path “/Products/Clothes/Jeans”, and these terms are used to tag List Items (SPListItem). The list column you are tagging in is then mapped to a refineable managed property Refinable in the search index. Now, you can use the AnalyticsRecommendationScriptWebPart to navigate through your navigation term set and at the same time filter search results with the same terms.
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)] [SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)] [AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)] [SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)] public abstract class AnalyticsRecommendationScriptWebPart : WebPart