November Happy Hour will be moved to Thursday December 5th.

Getting the boost value

Vote:
 

Is there anyway to get the boost value from the Find index?

#112106
Oct 22, 2014 17:18
Vote:
 

You can use:

var unifiedWeightsResult = search.Client.NewCommand(context => new UnifiedWeightsCommand(context, search.Client.DefaultIndex));

var result = unifiedWeightsResult.Execute();
result.Hits.First().Weights <= this will contain the weights properties

#112463
Oct 28, 2014 16:31
Vote:
 

Sweet thanks

#112464
Oct 28, 2014 16:33
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.