RankingInfo coming back as null or Total weight:0
For the rest api I have "enableRankingInformation": true in my query json, yet every result has either "rankingInfo" : null or "\nTotal weight: 0\n"
Is there anything else I need to do to get this working?
UPDATE: I do get some responses when I do not sort by any column, but something like "sortCriteria": "@publisheddatenew descending", gets me all nulls. Is that expected?
Also, do I need to use <IndexAnalyticsFields>true</IndexAnalyticsFields> or will it still work if false?