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