Jack, Here is the ReplicationHandler definition from solrconfig.xml:
<requestHandler name="/replication" class="solr.ReplicationHandler" > <lst name="master"> <str name="enable">${enable.master:false}</str> <str name="replicateAfter">startup</str> <str name="replicateAfter">commit</str> <str name="replicateAfter">optimize</str> <str name="confFiles">solrconfig.xml,data-config.xml,schema.xml,stopwords.txt,synonyms.txt,elevate.xml</str> </lst> <lst name="slave"> <str name="enable">${enable.slave:false}</str> <str name="masterUrl">http://${master.ip}:${master.port}/solr/${ solr.core.name}/replication</str> <str name="pollInterval">00:01:00</str> </lst> </requestHandler> The confFiles are under the dir: /var/solr/application-cores/List/conf and the external file fields are like: /var/solr-data/List/external_* Should I add /var/solr-data/List/external_* to confFiles like this? <str name="confFiles">solrconfig.xml,data-config.xml,schema.xml,stopwords.txt,synonyms.txt,elevate.xml, /var/solr-data/List/external_*</str> Also, can you tell me when (or whether) I need to do reloadCache on the slave after the ext file fields are replicated? Thx. On Fri, Jun 28, 2013 at 10:13 AM, Jack Krupansky <j...@basetechnology.com>wrote: > Show us your <confFiles> directive. Maybe there is some subtle error in > the file name. > > -- Jack Krupansky > > -----Original Message----- From: Arun Rangarajan > Sent: Friday, June 28, 2013 1:06 PM > To: solr-user@lucene.apache.org > Subject: Re: Replicating files containing external file fields > > > Erick, > Thx for your reply. The external file field fields are already under > <dataDir> specified in solrconfig.xml. They are not getting replicated. > (Solr version 4.2.1.) > > > On Thu, Jun 27, 2013 at 10:50 AM, Erick Erickson <erickerick...@gmail.com> > **wrote: > > Haven't tried this, but I _think_ you can use the >> "confFiles" trick with relative paths, see: >> http://wiki.apache.org/solr/**SolrReplication<http://wiki.apache.org/solr/SolrReplication> >> >> Or just put your EFF files in the data dir? >> >> Best >> Erick >> >> >> On Wed, Jun 26, 2013 at 9:01 PM, Arun Rangarajan >> <arunrangara...@gmail.com>**wrote: >> >> > From >> > https://wiki.apache.org/solr/**SolrReplication<https://wiki.apache.org/solr/SolrReplication>I >> > understand that >> index >> > dir and any files under the conf dir can be replicated to slaves. I want >> to >> > know if there is any way the files under the data dir containing > >> external >> > file fields can be replicated. These are not replicated by default. >> > Currently we are running the ext file field reload script on both the >> > master and the slave and then running reloadCache on each server once >> they >> > are loaded. >> > >> >> >