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] [Updated] (SOLR-3920) CloudSolrServer doesn't allow to index multiple collections with one instance of server
Date Mon, 08 Oct 2012 13:06:02 GMT

     [ https://issues.apache.org/jira/browse/SOLR-3920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Grzegorz Sobczyk updated SOLR-3920:
-----------------------------------

    Description: 
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.

  was:
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.

    
> 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