[
https://issues.apache.org/jira/browse/SOLR-5943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13957850#comment-13957850
]
ASF subversion and git services commented on SOLR-5943:
-------------------------------------------------------
Commit 1584084 from [email protected] in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1584084 ]
SOLR-5943: SolrCmdDistributor does not distribute the openSearcher parameter
> 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, 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: [email protected]
For additional commands, e-mail: [email protected]