allow setting of term-aggregation size