[ 
https://issues.apache.org/jira/browse/SOLR-5943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ludovic Boutros updated SOLR-5943:
----------------------------------

    Attachment: SOLR-5943.patch

A first small patch with unit test on branch lucene_solr_4_7.


> SolrCmdDistributor does not distribute the openSearcher parameter
> -----------------------------------------------------------------
>
>                 Key: SOLR-5943
>                 URL: https://issues.apache.org/jira/browse/SOLR-5943
>             Project: Solr
>          Issue Type: Bug
>          Components: update
>    Affects Versions: 4.6.1, 4.7
>            Reporter: ludovic Boutros
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 4.8, 5.0
>
>         Attachments: SOLR-5943.patch
>
>
> The openSearcher parameter in a commit command is totally ignored by the 
> SolrCmdDistributor :
> {code:title=SolrCmdDistributor.java|borderStyle=solid}
>  void addCommit(UpdateRequest ureq, CommitUpdateCommand cmd) {
>     if (cmd == null) return;
>     ureq.setAction(cmd.optimize ? AbstractUpdateRequest.ACTION.OPTIMIZE
>         : AbstractUpdateRequest.ACTION.COMMIT, false, cmd.waitSearcher, 
> cmd.maxOptimizeSegments, cmd.softCommit, cmd.expungeDeletes);
>   }{code}
> I think the SolrJ API should take this parameter in account as well.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to