Authored by hugufei

聚合结果由取1000个品牌改为200个品牌

... ... @@ -33,7 +33,8 @@ public class BrandAggregation extends AbstractAggregation{
@Override
public AbstractAggregationBuilder getBuilder() {
return AggregationBuilders.terms(aggName()).field("brandId").size(1000);
//return AggregationBuilders.terms(aggName()).field("brandId").size(1000);
return AggregationBuilders.terms(aggName()).field("brandId").size(200);
}
@Override
... ...