code: protected AvgAggregationBuilder regAvgA(String name, String field) {
          AvgAggregationBuilder builder = AggregationBuilders.avg(name).field(field);
          regA(builder);
          return builder;
      }
docs: ========