lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3920) CloudSolrServer doesn't allow to index multiple collections with one instance of server
Date Mon, 08 Oct 2012 14:46:03 GMT

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

Mark Miller commented on SOLR-3920:
-----------------------------------

You can set the default collection (a method on the CloudSolrServer) or set the collection
per update call (collection param).
                
> CloudSolrServer doesn't allow to index multiple collections with one instance of server
> ---------------------------------------------------------------------------------------
>
>                 Key: SOLR-3920
>                 URL: https://issues.apache.org/jira/browse/SOLR-3920
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>    Affects Versions: 4.0-BETA
>            Reporter: Grzegorz Sobczyk
>
> With one instance of CloudSolrServer I can't add documents to multiple collections, for
example:
> {code}
> CloudSolrServer server = new CloudSolrServer(zkHost);
> UpdateRequest updateColl1 = new UpdateRequest();
> updateColl1.setAction(ACTION.COMMIT, true, true);
> updateColl1.process(server);
> UpdateRequest updateColl2 = new UpdateRequest();
> updateColl2.setAction(ACTION.COMMIT, true, true);
> updateColl2.process(server);
> {code}
> Second update goes to first collection.

--
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


Mime
View raw message