...
|
...
|
@@ -240,6 +240,7 @@ public class SknImageVectorsServiceImpl implements ISknImageVectorsService, Appl |
|
|
private BoolQueryBuilder genFilterBuilder(List<Integer> productSkns) {
|
|
|
BoolQueryBuilder boolFilter = QueryBuilders.boolQuery();
|
|
|
boolFilter.mustNot(QueryBuilders.termsQuery(ProductIndexEsField.isSeckill, "Y"));
|
|
|
boolFilter.mustNot(QueryBuilders.termQuery(ProductIndexEsField.isFobbiden, 1));
|
|
|
boolFilter.must(QueryBuilders.termQuery(ProductIndexEsField.status, 1));
|
|
|
boolFilter.must(QueryBuilders.termQuery(ProductIndexEsField.isOutlets, 2));
|
|
|
boolFilter.must(QueryBuilders.termQuery(ProductIndexEsField.attribute, 1));
|
...
|
...
|
|