mirror of https://github.com/apache/lucene.git
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:
parent
b10061bf11
commit
2115c05de9
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue