lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grzegorz Sobczyk (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-3920) CloudSolrServer doesn't allow to index multiple collections with one instance of server
Date Mon, 08 Oct 2012 13:04:02 GMT
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message