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