SOLR-8315: Removed default core checks in the dispatch filter since we don't have a default core anymore

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715317 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Varun Thacker 2015-11-20 03:42:26 +00:00
parent 80403d0a28
commit 9cc17dd904
2 changed files with 4 additions and 10 deletions

View File

@ -540,6 +540,9 @@ Other Changes
* SOLR-8298: small preferLocalShards implementation refactor (Christine Poerschke)
* SOLR-8315: Removed default core checks in the dispatch filter since we don't have a default
core anymore (Varun Thacker)
================== 5.3.1 ==================
Bug Fixes

View File

@ -279,11 +279,6 @@ public class HttpSolrCall {
// if we couldn't find it locally, look on other nodes
extractRemotePath(corename, origCorename, idx);
if (action != null) return;
// try the default core
if (core == null) {
core = cores.getCore("");
}
}
// With a valid core...
@ -615,11 +610,7 @@ public class HttpSolrCall {
} else {
solrResp.setException(new RuntimeException(ex));
}
if (core == null) {
localCore = cores.getCore(""); // default core
} else {
localCore = core;
}
localCore = core;
if (solrReq == null) {
final SolrParams solrParams;
if (req != null) {