Authored by hugufei

sortSizeProducts的SKN数量改为5000

... ... @@ -192,7 +192,7 @@ public class SearchSortSizeService {
// 按productSkn聚合
List<AbstractAggregationBuilder> list = new ArrayList<AbstractAggregationBuilder>();
TermsBuilder tremsBuilder = AggregationBuilders.terms("productSknAgg").field("productSkn").size(20000);// 最多只取2000个productSkn
TermsBuilder tremsBuilder = AggregationBuilders.terms("productSknAgg").field("productSkn").size(5000);// 最多只取5000个productSkn
list.add(tremsBuilder);
searchParam.setAggregationBuilders(list);
... ...