Authored by hugufei

召回时不过滤 断码商品

@@ -207,7 +207,7 @@ public class ExtendFilterHelper { @@ -207,7 +207,7 @@ public class ExtendFilterHelper {
207 BoolQueryBuilder filter = QueryBuilders.boolQuery(); 207 BoolQueryBuilder filter = QueryBuilders.boolQuery();
208 filter.should(QueryBuilders.termQuery(ProductIndexEsField.flowType, "2")); 208 filter.should(QueryBuilders.termQuery(ProductIndexEsField.flowType, "2"));
209 filter.should(QueryBuilders.termQuery(ProductIndexEsField.isGlobal, "Y")); 209 filter.should(QueryBuilders.termQuery(ProductIndexEsField.isGlobal, "Y"));
210 - filter.should(QueryBuilders.rangeQuery(ProductIndexEsField.breakSizePercent).gt(50)); 210 + //filter.should(QueryBuilders.rangeQuery(ProductIndexEsField.breakSizePercent).gt(50));
211 filter.should(QueryBuilders.termsQuery(ProductIndexEsField.storeShowStatus, Arrays.asList("3", "4"))); 211 filter.should(QueryBuilders.termsQuery(ProductIndexEsField.storeShowStatus, Arrays.asList("3", "4")));
212 return filter; 212 return filter;
213 } 213 }