docs: @SuppressWarnings({ "unchecked", "rawtypes" })
    public static void rewrite(ArrayList<?> al,
        MtasSolrSearchComponent searchComponent) throws IOException {
      for (int i = 0; i < al.size(); i++) {
        if (al.get(i) instanceof NamedList) {
          rewrite((NamedList) al.get(i), searchComponent);
        } else if (al.get(i) instanceof ArrayList) {
          rewrite((ArrayList) al.get(i), searchComponent);
        }
      }
    }