Commit 0f5f760e by shenjunjie

Merge branch 'feature' into 'release'

舆情库customTags筛选修复

See merge request !584
parents 12e3bbf8 608182a3
......@@ -143,7 +143,7 @@ public class EsQueryTools {
BoolQueryBuilder tagBoolQuery = QueryBuilders.boolQuery();
groupTagIds.forEach((group, list) -> {
BoolQueryBuilder tagQuery = QueryBuilders.boolQuery();
list.forEach(e -> tagQuery.should(QueryBuilders.termQuery("brandkbs_mark_cache_maps.unique_id.keyword", e)));
list.forEach(e -> tagQuery.must(QueryBuilders.termQuery("brandkbs_mark_cache_maps.unique_id.keyword", e)));
tagBoolQuery.must(tagQuery);
});
return tagBoolQuery;
......
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