Thanks Shawn. Commenting it out works to remove it. If I change the values e.g. change the 512 to 0, it does require a restart to take effect.
Tested using statsCache set to org.apache.solr.search.stats.ExactSharedStatsCache, with the queryResultCache disabled, and I still see the problem with NRT replicas. So using TLOG replicas still looks like the best work around for the NRT issue On Fri, Mar 2, 2018 at 10:44 AM, Shawn Heisey <apa...@elyograg.org> wrote: > On 3/2/2018 9:28 AM, Webster Homer wrote: > >> I've never disabled this before. I edited the solrconfig.xml setting the >> sizes to 0. I'm not sure if this is how to disable the cache or not. >> >> <queryResultCache class="solr.LRUCache" >> size="0" >> initialSize="0" >> autowarmCount="0"/> >> > > To completely disable a cache, either comment it out or remove it from the > config. I do not know whether setting the size to 0 will actually work or > not. > > Does enabling statsCache require a solr restart too? Does enabling the >> statsCache require that the data be re-indexed? The documentation on this >> feature is skimpy. >> > > Most changes to solrconfig.xml just require a reload. I would expect any > cache configurations to fall into that category. > > Is there a way to see if it's enabled in the Admin Console? >> > > I don't know anything about the statsCache. If you don't see it in the > Plugins/Stats tab, that's probably something that was forgotten, and needs > to be added to the admin UI. > > Thanks, > Shawn > > -- This message and any attachment are confidential and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, you must not copy this message or attachment or disclose the contents to any other person. If you have received this transmission in error, please notify the sender immediately and delete the message and any attachment from your system. Merck KGaA, Darmstadt, Germany and any of its subsidiaries do not accept liability for any omissions or errors in this message which may arise as a result of E-Mail-transmission or for damages resulting from any unauthorized changes of the content of this message and any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its subsidiaries do not guarantee that this message is free of viruses and does not accept liability for any damages caused by any virus transmitted therewith. Click http://www.emdgroup.com/disclaimer to access the German, French, Spanish and Portuguese versions of this disclaimer.