docs: public void modifyRequest(ResponseBuilder rb, SearchComponent who,
        ShardRequest sreq) {
      if (sreq.params.getBool(MtasSolrSearchComponent.PARAM_MTAS, false)
          && sreq.params.getBool(PARAM_MTAS_FACET, false)) {
        if ((sreq.purpose & ShardRequest.PURPOSE_GET_TOP_IDS) != 0) {
          // do nothing
        } else {
          // remove prefix for other requests
          Set<String> keys = MtasSolrResultUtil
              .getIdsFromParameters(rb.req.getParams(), PARAM_MTAS_FACET);
          sreq.params.remove(PARAM_MTAS_FACET);
          for (String key : keys) {
            sreq.params.remove(
                PARAM_MTAS_FACET + "." + key + "." + NAME_MTAS_FACET_FIELD);
            sreq.params
                .remove(PARAM_MTAS_FACET + "." + key + "." + NAME_MTAS_FACET_KEY);
            Set<String> subKeys = MtasSolrResultUtil.getIdsFromParameters(
                rb.req.getParams(),
                PARAM_MTAS_FACET + "." + key + "." + NAME_MTAS_FACET_QUERY);
            for (String subKey : subKeys) {
              sreq.params.remove(
                  PARAM_MTAS_FACET + "." + key + "." + NAME_MTAS_FACET_QUERY + "."
                      + subKey + "." + SUBNAME_MTAS_FACET_QUERY_TYPE);
              sreq.params.remove(
                  PARAM_MTAS_FACET + "." + key + "." + NAME_MTAS_FACET_QUERY + "."
                      + subKey + "." + SUBNAME_MTAS_FACET_QUERY_VALUE);
              sreq.params.remove(
                  PARAM_MTAS_FACET + "." + key + "." + NAME_MTAS_FACET_QUERY + "."
                      + subKey + "." + SUBNAME_MTAS_FACET_QUERY_PREFIX);
              sreq.params.remove(
                  PARAM_MTAS_FACET + "." + key + "." + NAME_MTAS_FACET_QUERY + "."
                      + subKey + "." + SUBNAME_MTAS_FACET_QUERY_IGNORE);
              sreq.params.remove(PARAM_MTAS_FACET + "." + key + "."
                  + NAME_MTAS_FACET_QUERY + "." + subKey + "."
                  + SUBNAME_MTAS_FACET_QUERY_MAXIMUM_IGNORE_LENGTH);
              Set<String> subSubKeys = MtasSolrResultUtil
                  .getIdsFromParameters(rb.req.getParams(),
                      PARAM_MTAS_FACET + "." + key + "." + NAME_MTAS_FACET_QUERY
                          + "." + subKey + "."
                          + SUBNAME_MTAS_FACET_QUERY_VARIABLE);
              for (String subSubKey : subSubKeys) {
                sreq.params.remove(PARAM_MTAS_FACET + "." + key + "."
                    + NAME_MTAS_FACET_QUERY + "." + subKey + "."
                    + SUBNAME_MTAS_FACET_QUERY_VARIABLE + "." + subSubKey + "."
                    + SUBNAME_MTAS_FACET_QUERY_VARIABLE_NAME);
                sreq.params.remove(PARAM_MTAS_FACET + "." + key + "."
                    + NAME_MTAS_FACET_QUERY + "." + subKey + "."
                    + SUBNAME_MTAS_FACET_QUERY_VARIABLE + "." + subSubKey + "."
                    + SUBNAME_MTAS_FACET_QUERY_VARIABLE_VALUE);
              }
            }
            subKeys = MtasSolrResultUtil.getIdsFromParameters(rb.req.getParams(),
                PARAM_MTAS_FACET + "." + key + "." + NAME_MTAS_FACET_BASE);
            for (String subKey : subKeys) {
              sreq.params.remove(
                  PARAM_MTAS_FACET + "." + key + "." + NAME_MTAS_FACET_BASE + "."
                      + subKey + "." + SUBNAME_MTAS_FACET_BASE_FIELD);
              sreq.params.remove(
                  PARAM_MTAS_FACET + "." + key + "." + NAME_MTAS_FACET_BASE + "."
                      + subKey + "." + SUBNAME_MTAS_FACET_BASE_TYPE);
              sreq.params.remove(
                  PARAM_MTAS_FACET + "." + key + "." + NAME_MTAS_FACET_BASE + "."
                      + subKey + "." + SUBNAME_MTAS_FACET_BASE_RANGE + "."
                      + SUBNAME_MTAS_FACET_BASE_RANGE_SIZE);
              sreq.params.remove(
                  PARAM_MTAS_FACET + "." + key + "." + NAME_MTAS_FACET_BASE + "."
                      + subKey + "." + SUBNAME_MTAS_FACET_BASE_RANGE + "."
                      + SUBNAME_MTAS_FACET_BASE_RANGE_BASE);
              sreq.params.remove(
                  PARAM_MTAS_FACET + "." + key + "." + NAME_MTAS_FACET_BASE + "."
                      + subKey + "." + SUBNAME_MTAS_FACET_BASE_MAXIMUM);
              sreq.params.remove(
                  PARAM_MTAS_FACET + "." + key + "." + NAME_MTAS_FACET_BASE + "."
                      + subKey + "." + SUBNAME_MTAS_FACET_BASE_MINIMUM);
              sreq.params.remove(
                  PARAM_MTAS_FACET + "." + key + "." + NAME_MTAS_FACET_BASE + "."
                      + subKey + "." + SUBNAME_MTAS_FACET_BASE_NUMBER);
              sreq.params.remove(
                  PARAM_MTAS_FACET + "." + key + "." + NAME_MTAS_FACET_BASE + "."
                      + subKey + "." + SUBNAME_MTAS_FACET_BASE_SORT_DIRECTION);
              sreq.params.remove(
                  PARAM_MTAS_FACET + "." + key + "." + NAME_MTAS_FACET_BASE + "."
                      + subKey + "." + SUBNAME_MTAS_FACET_BASE_SORT_TYPE);
              Set<String> subSubKeys = MtasSolrResultUtil
                  .getIdsFromParameters(rb.req.getParams(),
                      PARAM_MTAS_FACET + "." + key + "." + NAME_MTAS_FACET_BASE
                          + "." + subKey + "."
                          + SUBNAME_MTAS_FACET_BASE_FUNCTION);
              for (String subSubKey : subSubKeys) {
                sreq.params.remove(PARAM_MTAS_FACET + "." + key + "."
                    + NAME_MTAS_FACET_BASE + "." + subKey + "."
                    + SUBNAME_MTAS_FACET_BASE_FUNCTION + "." + subSubKey + "."
                    + SUBNAME_MTAS_FACET_BASE_FUNCTION_EXPRESSION);
                sreq.params.remove(PARAM_MTAS_FACET + "." + key + "."
                    + NAME_MTAS_FACET_BASE + "." + subKey + "."
                    + SUBNAME_MTAS_FACET_BASE_FUNCTION + "." + subSubKey + "."
                    + SUBNAME_MTAS_FACET_BASE_FUNCTION_KEY);
                sreq.params.remove(PARAM_MTAS_FACET + "." + key + "."
                    + NAME_MTAS_FACET_BASE + "." + subKey + "."
                    + SUBNAME_MTAS_FACET_BASE_FUNCTION + "." + subSubKey + "."
                    + SUBNAME_MTAS_FACET_BASE_FUNCTION_TYPE);
              }
            }
          }
        }
      }
    }