File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
mir-wizard/src/main/java/org/mycore/mir/wizard/command Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 22
22
*/
23
23
package org .mycore .mir .wizard .command ;
24
24
25
+ import java .util .Optional ;
26
+
25
27
import org .apache .logging .log4j .LogManager ;
26
28
import org .apache .logging .log4j .Logger ;
27
29
import org .jdom2 .Element ;
28
30
import org .mycore .mir .wizard .MIRWizardCommand ;
29
31
import org .mycore .solr .commands .MCRSolrCloudCommands ;
30
- import org .mycore .solr .commands .MCRSolrCommands ;
31
-
32
- import java .util .Optional ;
32
+ import org .mycore .solr .commands .MCRSolrCoreAdminCommands ;
33
33
34
34
/**
35
35
* @author René Adler (eagle)
@@ -74,8 +74,8 @@ public void doExecute() {
74
74
MCRSolrCloudCommands .createCollection (DEFAULT_CLASSIFICATION );
75
75
}
76
76
77
- MCRSolrCommands .reloadSolrConfiguration (DEFAULT_CORE , DEFAULT_CORE );
78
- MCRSolrCommands .reloadSolrConfiguration (DEFAULT_CLASSIFICATION , DEFAULT_CLASSIFICATION );
77
+ MCRSolrCoreAdminCommands .reloadSolrConfiguration (DEFAULT_CORE , DEFAULT_CORE );
78
+ MCRSolrCoreAdminCommands .reloadSolrConfiguration (DEFAULT_CLASSIFICATION , DEFAULT_CLASSIFICATION );
79
79
80
80
this .result .setSuccess (true );
81
81
} catch (final Exception ex ) {
You can’t perform that action at this time.
0 commit comments