docs: @Override
    public void prepare(ResponseBuilder rb, ComponentFields mtasFields)
        throws IOException {
      mtasFields.doStatus = true;
      String key = rb.req.getParams()
          .get(PARAM_MTAS_STATUS + "." + NAME_MTAS_STATUS_KEY, null);
      boolean getHandler = rb.req.getParams()
          .getBool(MtasSolrComponentStatus.PARAM_MTAS_STATUS + "."
              + NAME_MTAS_STATUS_MTASHANDLER, false);
      boolean getNumberOfDocuments = rb.req.getParams()
          .getBool(MtasSolrComponentStatus.PARAM_MTAS_STATUS + "."
              + NAME_MTAS_STATUS_NUMBEROFDOCUMENTS, false);
      boolean getNumberOfSegments = rb.req.getParams()
          .getBool(MtasSolrComponentStatus.PARAM_MTAS_STATUS + "."
              + NAME_MTAS_STATUS_NUMBEROFSEGMENTS, false);
      mtasFields.status = new ComponentStatus(rb.req.getCore().getName(), key,
          getHandler, getNumberOfDocuments, getNumberOfSegments);
      mtasFields.status.numberOfDocuments = rb.req.getSearcher().getRawReader()
          .numDocs();
      mtasFields.status.numberOfSegments = rb.req.getSearcher().getRawReader()
          .leaves().size();
    }