Thanks Shawn, To support an existing functionality we have turned the opensearcher to false. Is there a way to flush the cache programiticaly.
Regards, Sachin On Wed, Jan 30, 2019, 12:58 PM Shawn Heisey <apa...@elyograg.org wrote: > On 1/29/2019 11:27 PM, sachin gk wrote: > > Is there a way to clear the *document cache* after we commit to the > indexer. > > All Solr caches are invalidated when you issue a commit with > openSearcher set to true. The default setting is true, and normally it > doesn't get set to false unless you explicitly set it. Most of the > time, autoCommit has openSearcher set to false. > > The documentCache cannot be warmed directly, but it does get items added > to it if there are any warming queries, which may come from autowarming > queryResultCache. > > Thanks, > Shawn >