Showing
1 changed file
with
1 additions
and
0 deletions
@@ -120,6 +120,7 @@ public class ExtendFilterHelper { | @@ -120,6 +120,7 @@ public class ExtendFilterHelper { | ||
120 | BoolQueryBuilder filter = QueryBuilders.boolQuery(); | 120 | BoolQueryBuilder filter = QueryBuilders.boolQuery(); |
121 | //must | 121 | //must |
122 | filter.must(sortBrandIdFilter(sortBrand)); | 122 | filter.must(sortBrandIdFilter(sortBrand)); |
123 | + filter.must(QueryBuilders.rangeQuery(ProductIndexEsField.heatValue).gt(0)); | ||
123 | //must not | 124 | //must not |
124 | filter.mustNot(notRecallFilter()); | 125 | filter.mustNot(notRecallFilter()); |
125 | filter.mustNot(newFilter()); | 126 | filter.mustNot(newFilter()); |
-
Please register or login to post a comment