Commit 48af3ce0 by shenjunjie

Merge branch 'feature' into 'dev'

修复topSource不准确bug

See merge request !61
parents d325fd9d 53a223b9
...@@ -1485,6 +1485,8 @@ public class MarkDataServiceImpl implements MarkDataService { ...@@ -1485,6 +1485,8 @@ public class MarkDataServiceImpl implements MarkDataService {
if (StringUtils.isNotEmpty(emotion) && !EmotionEnum.ALL.getName().equals(emotion)) { if (StringUtils.isNotEmpty(emotion) && !EmotionEnum.ALL.getName().equals(emotion)) {
query.must(QueryBuilders.termQuery("brandkbs_mark_cache_maps.name.keyword", emotion)); query.must(QueryBuilders.termQuery("brandkbs_mark_cache_maps.name.keyword", emotion));
} }
searchHelper.setSize(0);
searchHelper.setQuery(query);
// 搜索结果 // 搜索结果
SearchResponse searchResponse = esClientDao.searchResponse(searchHelper); SearchResponse searchResponse = esClientDao.searchResponse(searchHelper);
......
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