A client complained that the search result was not changed when they set the weights in the Episerver Find admin view.
If I get it right, those weights are only used when you do a UnifiedSearch (or UnifiedSearchFor). We are doing a .Search<IContent> and GetContentResult, because we need the result as content.
Is there a way to keep the current funtionality and let the client set weight in admin mode?
I'm guessing that what I want to do is either
- Boost with weights, without using UnifiedSearch
- Or, simulate GetContentResult when using UnifiedSearch. But there doesn't seem to be a "content id" in the UnifiedSearchResults.
Or should I tell the client to ignore the weight setting in admin mode, and we set the boosting in code using .BostMatching?
Thanks for any advise!