On 5/26/22 08:54, Poorna Murali wrote:
I would like to know when will a solr field cache be invalidated or cleared?
Lucene will throw the existing fieldCache away whenever a new searcher is created. A new searcher is created by autoSoftCommit, by explicit hard commits unless you disable it in the commit parameters, and by explicit soft commits. Whether or not a new searcher is created by autoCommit is determined by the autoCommit config. In the default out of the box configs, autoCommit does NOT create a new searcher.
Thanks, Shawn
