Skip to content

Commit 1f357ae

Browse files
committed
MIR-1320 adopt to changes in mycore
1 parent 4d01b96 commit 1f357ae

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

mir-wizard/src/main/java/org/mycore/mir/wizard/command/MIRWizardSolr.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@
2222
*/
2323
package org.mycore.mir.wizard.command;
2424

25+
import java.util.Optional;
26+
2527
import org.apache.logging.log4j.LogManager;
2628
import org.apache.logging.log4j.Logger;
2729
import org.jdom2.Element;
2830
import org.mycore.mir.wizard.MIRWizardCommand;
2931
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;
3333

3434
/**
3535
* @author René Adler (eagle)
@@ -74,8 +74,8 @@ public void doExecute() {
7474
MCRSolrCloudCommands.createCollection(DEFAULT_CLASSIFICATION);
7575
}
7676

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);
7979

8080
this.result.setSuccess(true);
8181
} catch (final Exception ex) {

0 commit comments

Comments
 (0)