Re: [jira] Commented: (SOLR-1154) allow specifying solr configuration file through system property to simplify deployment procedure in certain cases

2009-05-21 Thread Jian Han Guo
In my opinion, we don't need do anything, at least for now. It is not ideal but we have a work around. Thanks, Jianhan On Thu, May 21, 2009 at 12:18 AM, Noble Paul (JIRA) j...@apache.org wrote: [

Re: [jira] Resolved: (SOLR-1175) disable replication on master side

2009-05-21 Thread Jian Han Guo
That is great, and I tried it and it looks working great. Now how do we disable/enable replication programmatically? Here is what I tried: ModifiableSolrParams params = new ModifiableSolrParams(); params.set(qt, /replication); params.set(command, disablereplication); solrServer.query(params);

disable replication on master side

2009-05-18 Thread Jian Han Guo
Hi, Occasionally, we want to build our indexes from scratch, and during this period we want our search continue to work. Here are the steps that I think will do it 1. on all slaves: disable replication 2. on master: stop the server 3. on master: delete all the documents 4. on master: restart the

Re: [jira] Commented: (SOLR-1154) allow specifying solr configuration file through system property to simplify deployment procedure in certain cases

2009-05-11 Thread Jian Han Guo
You are right that keeping directories for solr home can solve this problem. The only issue is that you then have to keep two copies of everything in the solr home directory, which is a potential maintenance problem. I still yet to figure out how to extract the common part of solrconfig.xml and

Re: [jira] Commented: (SOLR-1154) allow specifying solr configuration file through system property to simplify deployment procedure in certain cases

2009-05-11 Thread Jian Han Guo
to be added into the configuration of SolrDispatchFilter. when you say the whole directory ,other than solrconfig.xml everything else is a simple copy , right? On Mon, May 11, 2009 at 10:20 PM, Jian Han Guo jian...@gmail.com wrote: You are right that keeping directories for solr home can solve

Re: [jira] Commented: (SOLR-1154) allow specifying solr configuration file through system property to simplify deployment procedure in certain cases

2009-05-09 Thread Jian Han Guo
In our environment, master and slave instances are running in different boxes. We package everything in a single tar file and push it to production boxes and expand the tar file there. After that, operation team just needs to run a commend to start/restart the application without making any

Re: SolrDispatchFilter config parameter solrconfig-filename

2009-05-08 Thread Jian Han Guo
Ok, if there is no objection, I'll file a bug and create a patch for it. Thanks, Jianhan On Tue, May 5, 2009 at 3:18 PM, Jian Han Guo jian...@gmail.com wrote: Hi, I wanted to use this parameter to specify different solr configuration files for master and slave to simplify deployment

SolrDispatchFilter config parameter solrconfig-filename

2009-05-05 Thread Jian Han Guo
Hi, I wanted to use this parameter to specify different solr configuration files for master and slave to simplify deployment procedure. Unfortunately, I can't dynamically replace the value of this parameter. Basically, what I want is filter filter-nameSolrRequestFilter/filter-name

Re: NullPointException during creating snapshot

2009-05-01 Thread Jian Han Guo
console. I shall open an issue --Noble On Fri, May 1, 2009 at 3:33 AM, Jian Han Guo jian...@gmail.com wrote: Hi, If there is no new document added since the last snapshot is created, the request solr/replication?command=snapshoot returns the following response ?xml version=1.0 encoding

snapshoot is created in the directory where solr is launched

2009-04-29 Thread Jian Han Guo
Hi, I would like to create a patch for this, but I am new here, and how do I create a bug for it in Jira? Thanks, Jianhan -- Forwarded message -- From: Jian Han Guo jian...@gmail.com Date: Tue, Apr 28, 2009 at 10:43 AM Subject: Re: fail to create or find snapshoot To: solr-u