Hi Shawn, 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()?
Thanks, Shashank Pedamallu MTS MBU vCOps Dev US-CA-Promontory E, E 1035 Email: spedama...@vmware.com Office: 650.427.6280 x76280 On 3/29/17, 11:11 AM, "Shawn Heisey" <apa...@elyograg.org> wrote: >On 3/29/2017 11:17 AM, Shashank Pedamallu wrote: >> I’m performing some long running operation on a Background thread on a >> Core and I observed that since the core has the property “transient” >> set to true, in between this operation completes, the core is being >> CLOSED and OPENED by Solr (even though the operation continues without >> interruption). Is there a way to avoid/block OPENING/CLOSING of the >> core when this operation is in progress? > >I see four choices: > >* Change the transient property to false and restart Solr, so that core >cannot ever be unloaded. >* Increase the transientCacheSize value in solr.xml so that more >transient cores can be loaded at the same time. >* Don't access other transient cores during the long-running operation. >* Don't use LotsOfCores functionality (transient cores) at all. > >https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.apache.org_solr_LotsOfCores&d=DwIDaQ&c=uilaK90D4TOVoH58JNXRgQ&r=blJD2pBapH3dDkoajIf9mT9SSbbs19wRbChNde1ErNI&m=WyZhjN__67hbu-9yVN2H_dAU0FotKvKSgVXY22VPyX0&s=WRX4ho9MpXJO5LTp-ZCsUmjxLJaeTG702IthWiDOSeM&e= > > >Thanks, >Shawn >