Typically what you would do is add static warming queries to warm all the caches. These queries are hardcoded into the solrconfig.xml. You'll want to run the facets you're using in the warming queries particularly facets on string fields.
Once you add these it will take longer to warm the new searcher so you may need to change the auto-commit intervals. Joel Bernstein http://joelsolr.blogspot.com/ On Wed, Jan 27, 2021 at 5:30 PM Pushkar Raste <pushkar.ra...@gmail.com> wrote: > Hi, > > A rookie question. We have a Solr cluster that doesn't get too much > traffic. We see that our queries take long time unless we run a script to > send more traffic to Solr. > > We are indexing data all the time and use autoCommit. > > I am wondering if there is a way to warmup new searcher on commit by > rerunning queries processed by the last searcher. May be it happens by > default but then I can't understand why we see high query times if those > searchers are being warmed. >