FWIW, "LOAD" has (as far as i understand) been basically deprecated since 
day #1.

as described on the old wiki...

>> /!\ not implemented yet! Use CREATE
>> 
>> So far, no use cases have been presented for a LOAD command that aren't 
>> satisfied by using CREATE so it's doubtful that a separate LOAD command 
>> will be implemented unless such a use-case is found. 

... i suspect the original expectation was that LOAD/UNLOAD would be a 
matching pair, while CREATE/DESTROY would be matching pair -- except a 
"DESTROY" was never added, instead new "deleteXxxx=true" options were 
added to unload.

It also makes more sense pre "core discovery" when CREATE required a name 
& an instancedir and recorded them in solr.xml, and UNLOAD (w/o the delete 
options) just noted in solr.xml that for that core "loadOnStartup=false" 
... in which case it would make sense that you might want to later LOAD a 
core by name w/o needing ot specify an instance dir.

: 1. Deprecate LOAD for Solr 4.10.3 and remove it on trunk and branch_5x

Not an option - we can't be deprecating stuff in a bug fix release.

Deprecate in 5.0 and remove in 6.0 is totally viable however.


in the mean time, we can still do #2...

: > Counter-prorposal: Leave it in and have it call CREATE with minimal
: > parameters and add LOAD to the docs.
        ...
: 2.  Essentially not pass down the core.properties keys etc.



-Hoss
http://www.lucidworks.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to