SOLR-5452: Back this out for a bit

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543108 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2013-11-18 18:52:01 +00:00
parent b10061bf11
commit 2115c05de9
1 changed files with 3 additions and 2 deletions

View File

@ -315,8 +315,9 @@ public class SolrDispatchFilter implements Filter
if (core == null && idx > 0) {
String coreUrl = getRemotCoreUrl(cores, corename, origCorename);
// don't proxy for internal update requests
solrReq = SolrRequestParsers.DEFAULT.parse(null,path, req);
if (coreUrl != null && solrReq.getParams().get(DistributingUpdateProcessorFactory.DISTRIB_UPDATE_PARAM) == null) {
//solrReq = SolrRequestParsers.DEFAULT.parse(null,path, req);
//if (coreUrl != null && solrReq.getParams().get(DistributingUpdateProcessorFactory.DISTRIB_UPDATE_PARAM) == null) {
if (coreUrl != null) {
path = path.substring( idx );
remoteQuery(coreUrl + path, req, solrReq, resp);
return;