mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-07 01:46:47 +08:00
分割关键字
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user