bruno-roustant commented on a change in pull request #3:
URL: https://github.com/apache/solr/pull/3#discussion_r593414197
##########
File path:
solr/core/src/java/org/apache/solr/handler/component/QueryElevationComponent.java
##########
@@ -370,14 +374,8 @@ private ElevationProvider loadElevationProvider(SolrCore
core) throws IOExceptio
}
log.info("Loading QueryElevation from data dir: {}", configFileName);
- XmlConfigFile cfg;
- ZkController zkController = core.getCoreContainer().getZkController();
- if (zkController != null) {
- cfg = new XmlConfigFile(core.getResourceLoader(), configFileName, null,
null);
- } else {
- InputStream is = VersionedFile.getLatestFile(core.getDataDir(),
configFileName);
Review comment:
It's not removed, the block is just refactored.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]