分割关键字

This commit is contained in:
lims1@hunktimes.com
2023-07-17 09:53:50 +08:00
parent cbf97e0f83
commit 6ac6d6e53a

View File

@@ -613,7 +613,7 @@ public class CourseElasticsearchImpl implements ICourseFullTextSearch{
} }
//排序 //排序
if(paras.getOrderType()!=3 && StringUtils.isBlank(paras.getKeywords())) { if(StringUtils.isBlank(paras.getKeywords())) {
sourceBuilder.sort("isTop",SortOrder.DESC); sourceBuilder.sort("isTop",SortOrder.DESC);
//sourceBuilder.sort("topTime",SortOrder.DESC); //sourceBuilder.sort("topTime",SortOrder.DESC);
} }