code: public static void rewrite(NamedList<Object> nl,
        MtasSolrSearchComponent searchComponent) throws IOException {
      rewrite(nl, searchComponent, true);
    }
docs: Rewrite.
  
  @param nl the nl
  @param searchComponent the search component
  @throws IOException Signals that an I/O exception has occurred.