Short form: There's no easy to do that ATM. The whole synchronization
process when working with transient cores (i.e. synchronizing on some
of the internal structures is pretty hairy and would require you to
fork a version of Solr to change.

Much of this is being worked out in SOLR-8906 where you can have your
own transient cache plugin. There are some edge cases that need to be
taken care of in SOLR-10008 and SOLR-10009, particularly the
CoreDescriptor (which is the in-memory form of core.properties) has
some issues with multiple copies being kept around so directly writing
core.properties has some gotchas currently that should be fixed in the
above.

Best,
Erick


On Thu, Mar 30, 2017 at 11:34 AM, Shashank Pedamallu
<spedama...@vmware.com> wrote:
> Hi All,
>
> I have some configuration variables that I need to hold in Solr as it 
> switches between transient states on a transient core. What is the best way 
> to do this? These variables can change value during a running environment. 
> So, I need to have read and write access to the persistent store. Some 
> options I was thinking was store them in core.properties file. But then, I 
> did not find a way to write to coreProperties. Similarly for handler 
> parameters in solrconfig.xml. Please let me know if there are any recommended 
> ways to handle this case.
>
> Thanks,
> Shashank

Reply via email to