1

Unfortunately, this doesn't work in Sitecore 9.3: https://doc.sitecore.com/en/developers/93/platform-administration-and-architecture/search-result-boosting.html You can store the viewsCount in an indexed field and sort by it. Or move away from LINQ and directly query Solr.


1

This is achieved by imitating existing rules. Works as expected. string storeVisited = CookieHelper.GetCookie("VisitedStore"); WhenFieldAndQueryStringMatches<RuleBoostingContext> ruleCondition = args.RuleCondition as WhenFieldAndQueryStringMatches<RuleBoostingContext>; string operatorId = ruleCondition....


Only top voted, non community-wiki answers of a minimum length are eligible