On 3/29/2017 4:50 PM, Shashank Pedamallu wrote:
> Thank you very much for the response. Is there no definite way of
> ensuring that Solr does not switch transient states by an api? Like
> solrCore.open() and solrCore.close()? 

I am not aware of any way to tell Solr to NOT unload a core when all of
the following conditions have been met:

1) Another transient core must be loaded because it has been accessed.
2) The core in question has been marked transient.
3) The transientCacheSize has already been reached.
4) The core in question is the one with the earliest timestamp.

I checked the code, but could not determine whether the oldest core is
decided by core load time or by core access time. My guess is that it is
decided by the load time, because this is the option that would have the
best performance.

If it's important that this core never gets unloaded, then you'll want
to remove the transient property.

Thanks,
Shawn

Reply via email to