...
|
...
|
@@ -91,7 +91,6 @@ public class ExtendFilterHelper { |
|
|
*/
|
|
|
public static QueryBuilder commonHeatValueFilter() {
|
|
|
BoolQueryBuilder filter = QueryBuilders.boolQuery();
|
|
|
filter.must(QueryBuilders.rangeQuery(ProductIndexEsField.heatValue).gt(0));
|
|
|
//must not
|
|
|
filter.mustNot(notRecallFilter());
|
|
|
return filter;
|
...
|
...
|
@@ -104,7 +103,6 @@ public class ExtendFilterHelper { |
|
|
*/
|
|
|
public static QueryBuilder commonCtrValueFilter() {
|
|
|
BoolQueryBuilder filter = QueryBuilders.boolQuery();
|
|
|
filter.must(QueryBuilders.rangeQuery(ProductIndexEsField.ctrValue).gt(0));
|
|
|
//must not
|
|
|
filter.mustNot(notRecallFilter());
|
|
|
return filter;
|
...
|
...
|
@@ -120,7 +118,6 @@ public class ExtendFilterHelper { |
|
|
BoolQueryBuilder filter = QueryBuilders.boolQuery();
|
|
|
//must
|
|
|
filter.must(sortBrandIdFilter(sortBrand));
|
|
|
filter.must(QueryBuilders.rangeQuery(ProductIndexEsField.heatValue).gt(0));
|
|
|
//must not
|
|
|
filter.mustNot(notRecallFilter());
|
|
|
filter.mustNot(newFilter());
|
...
|
...
|
@@ -138,7 +135,6 @@ public class ExtendFilterHelper { |
|
|
BoolQueryBuilder filter = QueryBuilders.boolQuery();
|
|
|
//must
|
|
|
filter.must(sortBrandIdFilter(sortBrand));
|
|
|
filter.must(QueryBuilders.rangeQuery(ProductIndexEsField.ctrValue).gt(0));
|
|
|
//must not
|
|
|
filter.mustNot(notRecallFilter());
|
|
|
filter.mustNot(newFilter());
|
...
|
...
|
|