Commit 53a223b9 by shenjunjie

修复topSource不准确bug

parent 4dd0400b
......@@ -1485,6 +1485,8 @@ public class MarkDataServiceImpl implements MarkDataService {
if (StringUtils.isNotEmpty(emotion) && !EmotionEnum.ALL.getName().equals(emotion)) {
query.must(QueryBuilders.termQuery("brandkbs_mark_cache_maps.name.keyword", emotion));
}
searchHelper.setSize(0);
searchHelper.setQuery(query);
// 搜索结果
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