Hi guys! I have a master-slave replication (Solr 4.1 version) with a 30 seconds polling interval and continuously new documents are indexed, so after 30 seconds always new data must be replicated. My test index is not huge: just 5M documents.
I have experimented that a simple "q=*:*" query appears to be very slow (up to 10 secs of QTime). After that first slow query the following "q=*:*" queries are much quicker. I feel that warming up caches after replication has something to say about this weird behavior, but maybe an index re-built is also involved. Question time: *1.* How can I warm up caches against? There exists any solrconfig.xml searcher to configure to be executed after replication events? *2. *My system needs to execute queries to the slaves continuously. If there exists any warm up way to reload caches, some queries will experience slow response times until reload has finished, isn't it? *3. *After a replication has done, does Solr execute any index rebuild operation that slow down query responses, or this poor performance is just due to caches? *4. *My system is always querying by the latest documents indexed (I'm filtering by document dates), and I don't use "fq" to execute that queries. In this scenario, do you recommend to disable caches? Thank you very much in advance! Best, -- - Luis Cappa