question: protected void runFullImport ( String dataConfig , Map < String , String > extraParams ) throws Exception { HashMap < String , String > params = new HashMap < > ( ) ; params . put ( "command" , "full-import" ) ; params . put ( "debug" , "on" ) ; params . put ( "dataConfig" , dataConfig ) ; params . put ( "clean" , "true" ) ; params . put ( "commit" , "true" ) ; params . putAll ( extraParams ) ; NamedList l = new NamedList ( ) ; for ( Map . Entry < String , String > e : params . entrySet ( ) ) { l . add ( e . getKey ( ) , e . getValue ( ) ) ; } LocalSolrQueryRequest request = new LocalSolrQueryRequest ( h . getCore ( ) , l ) ; h . query ( "/dataimport" , request ) ; }
target:  Runs a full-import using the given dataConfig and the provided request parameters. By default, debug=on, clean=true and commit=true are passed which can be overridden.