"Distribution/Replication gives you a 'new' index on the slave. When Solr is told to use the new index, the old caches have to be discarded along with the old Index Searcher. That's when autowarming occurs. If the current Index Searcher is serving requests and when a new searcher is opened, the new one is 'warmed' while the current one is serving external requests. When the new one is ready, it is registered so it can serve any new requests while the original one first finishes the requests it is handling. "
So if warming is configured, the new index will warm before going live? How does that work with the copying to the new directory? Does it get warmed while in the temp directory before copied over? My question is basically, will traffic be served with a non indexed searcher at any point? Thanks, Mike On Mon, Aug 29, 2011 at 4:45 PM, Rob Casson <rob.cas...@gmail.com> wrote: > it's always been my understanding that the caches are discarded, then > rebuilt/warmed: > > > http://wiki.apache.org/solr/SolrCaching#Caching_and_Distribution.2BAC8-Replication > > hth, > rob > > On Mon, Aug 29, 2011 at 5:30 PM, Mike Austin <mike.aus...@juggle.com> > wrote: > > How does warming work when a collection is being distributed to a slave. > I > > understand that a temp directory is created and it is eventually copied > to > > the live folder, but what happens to the cache that was built in with the > > old index? Does the cache get rebuilt, can we warm it before it becomes > > live, or can we keep the old cache? > > > > Thanks, > > Mike > > >