On 10/26/23 08:36, Surya R wrote:
That was my assumption that some queries were taking longer time during the warmup. That is why I turned off the warmup count and made it to zero, but still the slow behavior.
Can you restart Solr and provide the entire solr.log file? Maybe that will have some information about why the searcher takes so long to open. You can't attach files to your message, you need to put it on a file sharing site and give us the URL.
One thing I was curious about was, if the cache was being warmed up with queries from the listener, why was I not seeing them in the solr.log, could it be the verbosity level ?
I defined a firstSearcher query of "body:misc" in my solrconfig.xml, and I see the query in solr.log after restarting Solr:
2023-10-26 14:50:59.067 INFO (searcherExecutor-20-thread-1-processing-solr.elyograg.org:443_solr dovecot_2023_03_shard1_replica_t1 dovecot_2023_03 shard1 core_node2) [dovecot_2023_03 shard1 core_node2 dovecot_2023_03_shard1_replica_t1] o.a.s.c.S.Request webapp=null path=null params={q=body:misc&distrib=false&event=firstSearcher} hits=1029 status=0 QTime=185
If you turned down the logging level from the default of INFO, Solr's logfile will be almost completely silent. When I was asking for the solr.log above, I am assuming that it is still at INFO. If it's at WARN or ERROR it will not have any useful info.
Thanks, Shawn