Re: can solrj swap cores?

2010-12-15 Thread Chris Hostetter
: One of our developers had initially tried swapping solr cores (e.g. core0 : and core1) using the solrj api, but it failed. (don't have the exact error) : He susequently replaced the call with straight http (i.e. http client). : : Unfortunately I don't have the exact error in front of me...

Re: can solrj swap cores?

2010-12-15 Thread Tim Heckman
It's been working for me. One thing to look out for might be the url you're using in SolrUtil.getSolrServer()? The url you use for reindexing won't be the same as the one you use to swap cores. Make sure it's using admin/cores and not production/admin/cores or reindex/admin/cores. Sorry if this

can solrj swap cores?

2010-12-03 Thread Will Milspec
hi all, Does solrj support swapping cores? One of our developers had initially tried swapping solr cores (e.g. core0 and core1) using the solrj api, but it failed. (don't have the exact error) He susequently replaced the call with straight http (i.e. http client). Unfortunately I don't have the