I have implemented Searchkick in a rails app and it is working fine. I want to order my results based on the number of associated objects. For Eg. If I am searching for users by their name, then I want to order the results by the number of followers. (User having most followers should come first)
@users = User.search "2% #{query}", include: [:followers], fields: [:name]
Thanks for your help in advance