You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Olof Jonasson (JIRA)" <ji...@apache.org> on 2013/01/18 16:14:14 UTC

[jira] [Commented] (SOLR-4039) MergeIndex on multiple cores impossible with SolrJ

    [ https://issues.apache.org/jira/browse/SOLR-4039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13557266#comment-13557266 ] 

Olof Jonasson commented on SOLR-4039:
-------------------------------------

This happens in solr4 and we believe this is the problem:

In org.apache.solr.client.solrj.request.CoreAdminRequest.MergeIndexes.getParams()

if (srcCores != null) {
  for (String srcCore : srcCores) {
    params.set(CoreAdminParams.SRC_CORE, srcCore);
  }
}


param.set overwrites other cores
                
> MergeIndex on multiple cores impossible with SolrJ
> --------------------------------------------------
>
>                 Key: SOLR-4039
>                 URL: https://issues.apache.org/jira/browse/SOLR-4039
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 3.6.1
>         Environment: Windows
>            Reporter: Mathieu Gond
>
> It is not possible to do a mergeIndexes action on multiple cores at the same time with SolrJ.
> Only the last core set in the srcCores parameter is used.

--
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: http://www.atlassian.com/software/jira

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