mirror of https://github.com/apache/lucene.git
use cloned params passed to submit to avoid concurrent modification exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@666936 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4d11b2c89a
commit
423731edd0
|
@ -361,7 +361,7 @@ class HttpCommComponent {
|
|||
SolrServer server = new CommonsHttpSolrServer(url, client);
|
||||
// SolrRequest req = new QueryRequest(SolrRequest.METHOD.POST, "/select");
|
||||
// use generic request to avoid extra processing of queries
|
||||
QueryRequest req = new QueryRequest(sreq.params);
|
||||
QueryRequest req = new QueryRequest(params);
|
||||
req.setMethod(SolrRequest.METHOD.POST);
|
||||
req.setResponseParser(new BinaryResponseParser()); // this sets the wt param
|
||||
// srsp.rsp = server.request(req);
|
||||
|
|
Loading…
Reference in New Issue