Thanks Shawn for running a test at your end. I checked the Solrconfig and I
did not find any warm up queries patterns, to run at the time of startup,
That section was disabled in the solrconfig.xml

I uploaded the solr startup file to google drive , please find the link
below.
https://drive.google.com/file/d/15bBV8WfIvm0hbJ4IApiTA4Huh16NOnA4/view?usp=sharing


The *customers_fab* has the highest number of documents, around 2.2M.  If
you verify in the log, the cores were identified at 2023-10-26
*08:21:33.981 * but the customes_fab "registered new searcher" at
"2023-10-26 *08:23:16.851*",  the autowarm time shows as 0ms. the remaining
cores are small, and they show up immediately when I query them.

So I am wondering if the autowarm takes 0s which steps  might be slowing
down registering the new searcher.

That is how I figured, if I change  useColdSearcher to "true" , the core
shows up right away for queries, even with the 2.2M documents.

This is a   sandbox, with 2CPU,  8GB ram , 4GB heap space, running Fedora.

Please let me know your thoughts.



thank you
S

On Thu, Oct 26, 2023 at 11:00 AM Shawn Heisey <apa...@elyograg.org.invalid>
wrote:

> 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
>
>

-- 
-- Surya

Reply via email to