You don’t need to do that. When there is a commit, Solr creates a new Searcher with an empty document cache.
wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Jan 29, 2019, at 10:27 PM, sachin gk <gksachi...@gmail.com> wrote: > > Hi All, > > Is there a way to clear the *document cache* after we commit to the indexer. > > -- > Regards, > Sachin