code: private void distributedProcessFinish(ResponseBuilder rb,
        ComponentFields mtasFields) throws IOException {
      // rewrite
  
      Object mtasResponseRaw;
      if ((mtasResponseRaw = rb.rsp.getValues().get("mtas")) != null
          && mtasResponseRaw instanceof NamedList) {
        NamedList<Object> mtasResponse = (NamedList<Object>) mtasResponseRaw;
        Object mtasResponseTermvectorRaw;
        if ((mtasResponseTermvectorRaw = mtasResponse.get(NAME)) != null
            && mtasResponseTermvectorRaw instanceof ArrayList) {
          MtasSolrResultUtil.rewrite(
              (ArrayList<Object>) mtasResponseTermvectorRaw, searchComponent);
        }
      }
    }
docs: Distributed process finish.
  
  @param rb the rb
  @param mtasFields the mtas fields
  @throws IOException Signals that an I/O exception has occurred.