Kentico 8.2 Upgrade Problems with Eval("score") in SmartSearchResults Transform

Kyle G asked on March 31, 2015 15:35

Hi there,

I just upgraded our solution from 8.1 to 8.2. Everything looks ok except the SmartSearch results relevance score for each result(Eval("score")). It's return "NaN" for each. It worked before the upgrade; any ideas?

Thanks!

Recent Answers


Brenden Kehren answered on March 31, 2015 15:50

Have you rebuilt your index?

0 votesVote for this answer Mark as a Correct answer

Kyle G answered on March 31, 2015 15:59

Thanks for the reply. I found out the problem. I had a Sort by "DocumentLastPublished DESC" on the SmartSearchResults repeater that was breaking it. It worked before, and I don't know why it would be the cause.

I had initially wanted to sort by "DocumentModifiedWhen" but it wouldn't for some reason. I could sort by any other field but this one, so that's why I settled on "DocumentLastPublished".

I need to do a little more digging.

0 votesVote for this answer Mark as a Correct answer

Kyle G answered on March 31, 2015 16:02 (last edited on March 31, 2015 16:05)

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.