Grzegorz Sobczyk created SOLR-3920:
--------------------------------------
Summary: 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.setParam("collection", "collection1");
updateColl1.add(document);
updateColl1.process(server);
UpdateRequest updateColl2 = new UpdateRequest();
updateColl2.setParam("collection", "collection2");
updateColl2.add(document);
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: [email protected]
For additional commands, e-mail: [email protected]