ludovic Boutros created SOLR-5943:
-------------------------------------
Summary: 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.7, 4.6.1
Reporter: ludovic Boutros
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]