Hi Mitch

Thanks for responding.  Not actually sure what you wanted from
CoreAdminResponse but I put the following in:

            CoreAdminRequest car = new CoreAdminRequest();
            car.setCoreName("live");
            car.setOtherCoreName("rebuild");
            car.setAction(CoreAdminParams.CoreAdminAction.SWAP);
            CoreAdminResponse carp = car.process(solrServer);
            logger.debug("CoreAdminResponse status : " +
carp.getCoreStatus());
            logger.debug("CoreAdminResponse : " +
carp.getResponse().toString());

and this was the output:

DEBUG: uk.co.apps2net.intranet.service.SolrServiceImpl - CoreAdminResponse
status : null
DEBUG: uk.co.apps2net.intranet.service.SolrServiceImpl - CoreAdminResponse :
{responseHeader={status=0,QTime=31}}

Looks sort of as though it's done nothing!!

Thanks
Shaun



On 14 September 2010 15:49, MitchK <mitc...@web.de> wrote:

>
> Hi Shaun,
>
> I think it is more easy to fix this problem, if we got more information
> about what is going on in your application.
> Please, could you provide the CoreAdminResponse returned by car.process()
> for us?
>
> Kind regards,
> - Mitch
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Swapping-cores-with-SolrJ-tp1472154p1473435.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to