lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ludovic Boutros (JIRA)" <>
Subject [jira] [Created] (SOLR-5224) SolrCmdDistributor flush functions should combine original request params
Date Mon, 09 Sep 2013 15:55:52 GMT
ludovic Boutros created SOLR-5224:

             Summary: SolrCmdDistributor flush functions should combine original request params
                 Key: SOLR-5224
             Project: Solr
          Issue Type: Bug
          Components: SolrCloud
    Affects Versions: 4.4, 4.3.1
            Reporter: ludovic Boutros

The flush commands in the class SolrCmdDistributor do not combine original request params
into external update requests.

The actual code is :

      UpdateRequestExt ureq = new UpdateRequestExt();
      ModifiableSolrParams combinedParams = new ModifiableSolrParams();
      for (AddRequest aReq : alist) {
        AddUpdateCommand cmd = aReq.cmd;
        ureq.add(cmd.solrDoc, cmd.commitWithin, cmd.overwrite);
      if (ureq.getParams() == null) ureq.setParams(new ModifiableSolrParams());

but, the params from the original request: cmd.getReq().getParams() should be combined as
well in order to get them back in custom update processors for instance.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message