Predictive search result groups sorting

T v E asked on September 24, 2014 17:54

When setting up a Smart search box with predictive search, you can specify multiple search indexes. The predictive results will then be grouped by index in the popup.

So for example I have the Indexes field set to: Index1;Index2

But my results appear with Index2 at the top and Index1 at the bottom. I want Index1 to always appear at the top of the predictive results.

Is there any way to control the order of the grouped indexes?

Recent Answers

T v E answered on September 25, 2014 10:54

In the end I just cloned the Smart search box webpart and modified the code in the RenderResults method to sort the result groups before rendering them.

1 votesVote for this answer Mark as a Correct answer

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