code: public void prepare(ResponseBuilder rb, ComponentFields mtasFields)
        throws IOException {
      if (rb.req.getParams().getBool(PARAM_MTAS_STATS_POSITIONS, false)) {
        preparePositions(rb, mtasFields);
      }
      if (rb.req.getParams().getBool(PARAM_MTAS_STATS_TOKENS, false)) {
        prepareTokens(rb, mtasFields);
      }
      if (rb.req.getParams().getBool(PARAM_MTAS_STATS_SPANS, false)) {
        prepareSpans(rb, mtasFields);
      }
    }
docs: /*
  (non-Javadoc)
  
  @see
  mtas.solr.handler.component.util.MtasSolrComponent#prepare(org.apache.solr.
  handler.component.ResponseBuilder,
  mtas.codec.util.CodecComponent.ComponentFields)