Hi!
I have code somewhat similar to the following:
var result = _searchClient.Search
.For(query)
.WithAndAsDefaultOperator()
.UsingSynonyms()
.ExcludeDeleted()
.FilterForVisitor()
.ApplyBestBets()
.Track()
.Filter(x => x.Ancestors().In(searchNodeIds))
.Skip(firstHit)
.Take(10)
.Select(x => searchResultFactory.Create(x))
.IncludeType
.IncludeType
.GetResult();
As you can see I've added ApplyBestBets. However, after reading the documentation (https://world.episerver.com/documentation/developer-guides/find/NET-Client-API/searching/Best-Bets/) I'm somewhat confused as to how I can get typed search to play well with Best Bets.
Can someone provide an example on how to work with Best Bets for typed search? Is it even possible or do I have use UnifiedSearch?
Any help would be appreciated!
EPiServer 10.10.4.0
Find 12.6.2.0
Searching CMS-content and some content pulled from outside the CMS