Showing
1 changed file
with
2 additions
and
1 deletions
@@ -33,7 +33,8 @@ public class BrandAggregation extends AbstractAggregation{ | @@ -33,7 +33,8 @@ public class BrandAggregation extends AbstractAggregation{ | ||
33 | 33 | ||
34 | @Override | 34 | @Override |
35 | public AbstractAggregationBuilder getBuilder() { | 35 | public AbstractAggregationBuilder getBuilder() { |
36 | - return AggregationBuilders.terms(aggName()).field("brandId").size(1000); | 36 | + //return AggregationBuilders.terms(aggName()).field("brandId").size(1000); |
37 | + return AggregationBuilders.terms(aggName()).field("brandId").size(200); | ||
37 | } | 38 | } |
38 | 39 | ||
39 | @Override | 40 | @Override |
-
Please register or login to post a comment