You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by roz dev <ro...@gmail.com> on 2011/09/21 05:51:54 UTC

cache invalidation in slaves

Hi All

Solr has different types of caches such as filterCache, queryResultCache and
document Cache .
I know that if a commit is done then a new searcher is opened and new caches
are built. And, this makes sense.

What happens when commits are happening on master and slaves are pulling all
the delta updates.

Do slaves trash their cache and rebuild them every time there is a new delta
index updates downloaded to slave?


Thanks
Saroj

Re: cache invalidation in slaves

Posted by Chris Hostetter <ho...@fucit.org>.
: What happens when commits are happening on master and slaves are pulling all
: the delta updates.
: 
: Do slaves trash their cache and rebuild them every time there is a new delta
: index updates downloaded to slave?

replication triggers a commit on slaves so a new searcher (with new 
caches) is opened.

-Hoss