Showing
1 changed file
with
1 additions
and
1 deletions
@@ -112,7 +112,7 @@ public class SearchServiceHelper { | @@ -112,7 +112,7 @@ public class SearchServiceHelper { | ||
112 | BoolQueryBuilder boolFilter = QueryBuilders.boolQuery(); | 112 | BoolQueryBuilder boolFilter = QueryBuilders.boolQuery(); |
113 | 113 | ||
114 | //默认搜索isShield=0的 | 114 | //默认搜索isShield=0的 |
115 | - boolFilter.must(QueryBuilders.termsQuery("isShield", 0)); | 115 | + boolFilter.must(QueryBuilders.termsQuery("isShield", "0")); |
116 | 116 | ||
117 | //添加过滤请求 | 117 | //添加过滤请求 |
118 | boolFilter = BoolQueryBuilder(paramMap, boolFilter, ISearchConstans.PARAM_SEARCH_ID); | 118 | boolFilter = BoolQueryBuilder(paramMap, boolFilter, ISearchConstans.PARAM_SEARCH_ID); |
-
Please register or login to post a comment