In sphinx it is possible to add an attribute from the request?

Users have many posts, posts have many likes. Need to count the number of likes from all posts of the user. At the moment this is done with sphinx using sql_attr_uint, and the number is considered to be using subquery (mysql). I want to get away from subqueries, for example to use sql_attr_multi and choose the number of likes, but on this field, you cannot sort. Is there a way to put the attribute in the select that would be the result, it was possible for him to sort?
July 2nd 19 at 13:26
1 answer
July 2nd 19 at 13:28
I do not remember there is such possibility

Find more questions by tags Sphinx