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 btal...@aeriagames.comwrote: So how are people managing

Re: fail to create or find snapshoot

2009-04-28 Thread Jian Han Guo
On Mon, Apr 27, 2009 at 12:02 PM, Jian Han Guo jian...@gmail.com wrote: Actually, I found the snapshot in the directory where solr was lauched. Is this done on purpose? shouldn't it be in the data directory? Thanks, Jianhan On Mon, Apr 27, 2009 at 11:43 AM, Jian Han Guo jian

fail to create or find snapshoot

2009-04-27 Thread Jian Han Guo
Hi, According to Solr's wiki page http://wiki.apache.org/solr/SolrReplication, if I send the following request to master, a snapshoot will be created http://master_host:port/solr/replication?command=snapshoothttp://master_host/solr/replication?command=snapshoot But after I did it, nothing

Re: fail to create or find snapshoot

2009-04-27 Thread Jian Han Guo
Actually, I found the snapshot in the directory where solr was lauched. Is this done on purpose? shouldn't it be in the data directory? Thanks, Jianhan On Mon, Apr 27, 2009 at 11:43 AM, Jian Han Guo jian...@gmail.com wrote: Hi, According to Solr's wiki page http://wiki.apache.org/solr

Re: replicated index files have incorrect timestamp

2009-04-23 Thread Jian Han Guo
. The replication ties to set the timestamp of all the files same as that of the files in the master. just cross check. On Thu, Apr 23, 2009 at 6:57 AM, Jian Han Guo jian...@gmail.com wrote: Hi, I am using nightly build on 4/22/2009. Replication works fine, but the files inside index directory

Re: replicated index files have incorrect timestamp

2009-04-23 Thread Jian Han Guo
. It looks at the index version only. BTW can you just hit the master withe url and paste the response here http://masterhost:port/solr/replication?command=filelist On Thu, Apr 23, 2009 at 11:53 AM, Jian Han Guo jian...@gmail.com wrote: That's right. The timestamp of files on the slave side