Thanks Shawn, for the quick response.

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.

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 ?

Yes we do have few servers behind the load balancer, So i will go with
*useColdSearcher* to *True* and see how it goes. But atleast it will start
responding quickly.


thank you
Surya

On Wed, Oct 25, 2023 at 6:10 PM Shawn Heisey <apa...@elyograg.org.invalid>
wrote:

> On 10/25/23 09:05, Surya R wrote:
> > I started playing with this setting "
> > *<useColdSearcher>false</useColdSearcher>* " in the solr config.xml,
> when
> > i made it "*true*", which implies to use the cold searcher, I get
> response
> > immediately after a core restart.
> >
> > But if i leave the default, which is "*false*" it takes a long time.
>
> It sounds like you probably have a bunch of slow queries in a
> firstSearcher listener config.  Maybe you did not have those slow
> queries in the 6.x config, so the searcher was available right away.  Or
> maybe the 6.x config was different in some other way that made those
> warming queries complete quickly.
>
> Generally, I would probably run with useColdSearcher set to true, even
> you have a number of Solr servers behind a load balancer.  That way the
> searcher will be usable immediately, even if it is not warmed yet by the
> queries in the firstSearcher listener.
>
> Thanks,
> Shawn
>
>

-- 
-- Surya

Reply via email to