SearchHit Score for typed searches?


Is there anyway to get the score of the searchhit when using typed search?

Apr 29, 2015 16:35

SearchHit<> contains Score property:

var typedQuery = searchClient.Search<PageData>().GetResult();
foreach (SearchHit<PageData> hit in typedQuery.Hits)
    var score = hit.Score;
Apr 30, 2015 11:54

Works like a charm, thanks!

May 20, 2015 10:34
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.