On Tue, Feb 2, 2010 at 10:26 PM, Jeremy Carroll < jeremy.carr...@networkedinsights.com> wrote:
> I'm trying to get solr to fetch an index from a master server. This does > not work with our configuration, and throws an error that pollInterval > cannot be null. I thought to get fetchindex working, that pollInterval > should not be in the solrconfig.xml file? I have tried adding pollInterval > to the configuraiton, but it still will not work. Does anybody have any > experience with this issue? > > # REQUEST # > > http://solr:8080/solr/core1/replication?command=fetchindex&masterUrl=http://10.10.0.61:8080/solr/core1/replication&command=fetchindex > > # SOLRCONFIG.XML # > <!-- Slave config --> > <requestHandler name="/replication" class="solr.ReplicationHandler"> > <lst name="slave"> > <str name="masterUrl"> > http://127.0.0.1:8080/solr/${solr.core.name}/replication</str> > </lst> > </requestHandler> > > # CATALINA.OUT # > INFO: [blogs_2009_53_1] webapp=/solr path=/replication params={masterUrl= > http://10.10.0.61:8080/solr/core1/replication&command=fetchindex} status=0 > QTime=0 > Feb 2, 2010 10:47:51 AM org.apache.solr.handler.SnapPuller <init> > INFO: No value set for 'pollInterval'. Timer Task not started. > Feb 2, 2010 10:47:51 AM org.apache.solr.core.SolrCore execute > > That is just an INFO level log message. Have you seen an exception saying that pollInterval cannot be null? If yes, can you please paste the stack trace. -- Regards, Shalin Shekhar Mangar.