Re: Can a single SolrServer instance update multiple collections?

2015-03-11 Thread tuxedomoon
.nabble.com/Can-a-single-SolrServer-instance-update-multiple-collections-tp4192480p4192520.html Sent from the Solr - User mailing list archive at Nabble.com.

Can a single SolrServer instance update multiple collections?

2015-03-11 Thread tuxedomoon
to do this with a single SolrServer object? The SOLR host is version 3.5 and I am using the 3.5 jars for my application (not sure if that is necessary). -- View this message in context: http://lucene.472066.n3.nabble.com/Can-a-single-SolrServer-instance-update-multiple-collections-tp4192480

Re: Can a single SolrServer instance update multiple collections?

2015-03-11 Thread Shawn Heisey
On 3/11/2015 12:23 PM, tuxedomoon wrote: I have a SolrJ application that reads from a Redis queue and updates different collections based on the message content. New collections are added without my knowledge, so I am creating SolrServer objects on the fly as follows: def solrHost =

Re: Can a single SolrServer instance update multiple collections?

2015-03-11 Thread Shawn Heisey
On 3/11/2015 3:35 PM, tuxedomoon wrote: I can definitely upgrade to SolrJ 4.x and would prefer that so as to target 4.x cores as well. I'm already on Java 7. One attempt I made was this UpdateRequest updateRequest = new UpdateRequest(); updateRequest.setParam(collection,

Re: Can a single SolrServer instance update multiple collections?

2015-03-11 Thread tuxedomoon
.472066.n3.nabble.com/Can-a-single-SolrServer-instance-update-multiple-collections-tp4192480p4192545.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Can a single SolrServer instance update multiple collections?

2015-03-11 Thread Shawn Heisey
On 3/11/2015 4:28 PM, Shawn Heisey wrote: When I have some time to actually work on the code, I'm going to write it using 4.x classes because that's what I have immediate access to, but if you do 5.x, SolrServer becomes SolrClient, and HttpSolrServer becomes HttpSolrClient. At the URL below