Commit 1197be80 by 陈健智

定制小红书舆情分析-高互动量发文补充分享排序

parent 2bb0dff8
...@@ -3220,6 +3220,9 @@ public class MarkDataServiceImpl implements MarkDataService { ...@@ -3220,6 +3220,9 @@ public class MarkDataServiceImpl implements MarkDataService {
case "followersNum": case "followersNum":
key = "followers_num"; key = "followers_num";
break; break;
case "shareNum":
key = "share_num";
break;
} }
if (null == entry.getValue() || entry.getValue().toString().contains("desc")) { if (null == entry.getValue() || entry.getValue().toString().contains("desc")) {
sort = SortBuilders.fieldSort(key).order(SortOrder.DESC); sort = SortBuilders.fieldSort(key).order(SortOrder.DESC);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment