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