Authored by hugufei

人气值召回时也需要大于0

@@ -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());