Authored by Gino Zhang

suggestTips的pageSize设置为10

@@ -364,7 +364,7 @@ public class SuggestServiceImpl implements ISuggestService, ApplicationEventPubl @@ -364,7 +364,7 @@ public class SuggestServiceImpl implements ISuggestService, ApplicationEventPubl
364 QueryBuilder queryBuilder = StringUtils.isNotEmpty(queryWord) ? QueryBuilders.matchQuery("source", queryWord) : QueryBuilders.matchAllQuery(); 364 QueryBuilder queryBuilder = StringUtils.isNotEmpty(queryWord) ? QueryBuilders.matchQuery("source", queryWord) : QueryBuilders.matchAllQuery();
365 searchParam.setQuery(queryBuilder); 365 searchParam.setQuery(queryBuilder);
366 searchParam.setPage(page); 366 searchParam.setPage(page);
367 - searchParam.setSize(1); 367 + searchParam.setSize(10);
368 if (updateTime > 0) { 368 if (updateTime > 0) {
369 searchParam.setFiter(QueryBuilders.rangeQuery("updateTime").gte(updateTime)); 369 searchParam.setFiter(QueryBuilders.rangeQuery("updateTime").gte(updateTime));
370 } 370 }