> > Q1) > As soon as a new searcher is opened, the caches begin populating from the > older caches. What happens if the NewSearcher event has queries defined in > them? does these queries ignore the old cache altogether and load only > results of the queries defined in the listener event? Or do these get added > after the new caches have been warmed by old caches? >
Those queries are going to be executed after the cache auto-warm and before the searcher is registered. > > Q2) > I am running edismax queries on the Solr Server. Can I specify these > queries > in NewSearcher and FirstSearcher also? Or are the queries supposed to be > simple queries? > You can use all the parameters you want here. You can use your custom request handler configuration if you want. With these queries you should try to warm those things that are not warmed in the caches "autowarm" process, for example a good idea here is to facet in all the fields where your real users will be faceting. The same thing with sorting. Be careful with warming time, in relation to your commit frequency (or open searcher frequency really). If you are going to use NRT, you may not want to warm caches. Also, the whole idea of warming caches is to avoid making your users pay the penalty of searching with empty caches resulting in slow queries, make sure the resources you spend warming are not causing worse query times. Tomás > Thanks. > > --Shreejay > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/NewSearcher-old-cache-tp4013225.html > Sent from the Solr - User mailing list archive at Nabble.com. >