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

off the top of my head i can't think of any reason why it shouldn't work 
... w/ the details of hte error it's pretty much impossible for any one 
to offer you any assistance.

: Finally, can someone comment on the solrj javadoc on CoreAdminRequest:
:  * This class is experimental and subject to change.

it means that at the time the API was written, the contributor wasn't 
certain that it was the "correct" api for long term support, so they put 
that there as a CYA disclaimer in case future changes were needed in order 
to make hte API work properly.

in essence: while some APIs in Solr are very stable, and well supported, 
that one may change in future releases w/o a straight forward migration 
strategy if hte nature of the underlying functionalit (core 
administration) changes in some way that makes the current API unsuitable.

(regretable, we are not as good about auditing those types of disclaimers 
as we should be before/after releases) 

-Hoss

Reply via email to