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

Try our conversational search powered by Generative AI!

Best Bets with local links not working

Vote:
 

Hi

We are trying to get best bets to work, but when best bets are configured for local links, they don't seem to pull any results. It works fine with External Links. We are on Commerce 12.17.2 and Find 13.2.1.

Please advice.

#218676
Mar 18, 2020 12:26
Vote:
 

Hi Ritu,

Could you please share the code snippet here?

#218712
Mar 19, 2020 6:39
Vote:
 

Hi Ravindra

Here is the code snippets :

BestBets = SearchClient.Instance.UnifiedSearchFor(findCriteria.SearchPhrase).ApplyBestBets(bestBetsSize).GetResult().Where(x => x.IsBestBet()).ToList();

The bestBetsSize is configured to 20 in our case. The code above pulls results when the search phrase is tied to external link, but not when its tied to local link.

#218740
Mar 19, 2020 13:19
* 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.