Re: Replication master+slave

2009-05-15 Thread Michael Ludwig
Bryan Talbot schrieb: So how are people managing solrconfig.xml files which are largely the same other than differences for replication? I don't think it's a "good thing" to maintain two copies of the same file and I'd like to avoid that. Maybe enabling the XInclude feature in DocumentBuilders

Re: Replication master+slave

2009-05-14 Thread Bryan Talbot
Nutch - Original Message From: Bryan Talbot To: solr-user@lucene.apache.org Sent: Wednesday, May 13, 2009 10:11:21 PM Subject: Re: Replication master+slave I think the patch I included earlier covers solr core, but it looks like at least some other extensions (DIH) create and use their ow

Re: Replication master+slave

2009-05-13 Thread Shalin Shekhar Mangar
Thanks, > Otis > -- > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch > > > > - Original Message > > From: Bryan Talbot > > To: solr-user@lucene.apache.org > > Sent: Wednesday, May 13, 2009 10:11:21 PM > > Subject: Re: Replication mas

Re: Replication master+slave

2009-05-13 Thread Otis Gospodnetic
09 10:11:21 PM > Subject: Re: Replication master+slave > > I think the patch I included earlier covers solr core, but it looks like at > least some other extensions (DIH) create and use their own XML parser. So, > if > this functionality is to extend to all XML files, th

Re: Replication master+slave

2009-05-13 Thread Bryan Talbot
cene - Solr - Nutch - Original Message From: Bryan Talbot To: solr-user@lucene.apache.org Sent: Wednesday, May 13, 2009 11:26:41 AM Subject: Re: Replication master+slave I see that Nobel's final comment in SOLR-1154 is that config files need to be able to include snippets from

Re: Replication master+slave

2009-05-13 Thread Otis Gospodnetic
more modular and reusable." So "others are doing it, too". Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: Bryan Talbot > To: solr-user@lucene.apache.org > Sent: Wednesday, May 13, 2009 11:26:41 AM > Subject: Re: Rep

Re: Replication master+slave

2009-05-13 Thread Peter Wolanin
? > > Otis > -- > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch > > > > - Original Message >> From: Bryan Talbot >> To: solr-user@lucene.apache.org >> Sent: Wednesday, May 13, 2009 11:26:41 AM >> Subject: Re: Replication maste

Re: Replication master+slave

2009-05-13 Thread Otis Gospodnetic
nesday, May 13, 2009 11:26:41 AM > Subject: Re: Replication master+slave > > I see that Nobel's final comment in SOLR-1154 is that config files need to be > able to include snippets from external files. In my limited testing, a > simple > patch to enable XInclude support s

Re: Replication master+slave

2009-05-13 Thread Bryan Talbot
I see that Nobel's final comment in SOLR-1154 is that config files need to be able to include snippets from external files. In my limited testing, a simple patch to enable XInclude support seems to work. --- src/java/org/apache/solr/core/Config.java (revision 774137) +++ src/java/org/a

Re: Replication master+slave

2009-05-12 Thread Jian Han Guo
I was looking at the same problem, and had a discussion with Noble. You can use a hack to achieve what you want, see https://issues.apache.org/jira/browse/SOLR-1154 Thanks, Jianhan On Tue, May 12, 2009 at 5:13 PM, Bryan Talbot wrote: > So how are people managing solrconfig.xml files which are

Re: Replication master+slave

2009-05-12 Thread Bryan Talbot
So how are people managing solrconfig.xml files which are largely the same other than differences for replication? I don't think it's a "good thing" to maintain two copies of the same file and I'd like to avoid that. Maybe enabling the XInclude feature in DocumentBuilders would make it pos

Re: Replication master+slave

2009-05-12 Thread Shalin Shekhar Mangar
On Tue, May 12, 2009 at 10:42 PM, Bryan Talbot wrote: > For replication in 1.4, the wiki at > http://wiki.apache.org/solr/SolrReplication says that a node can be both > the master and a slave: > > A node can act as both master and slave. In that case both the master and > slave configuration lists