Re: problem about backup index file

2010-02-26 Thread Michael McCandless
more and more.never getting less.another question:I should delete the files previous I backup when I backup again. - 原文 - 发件人: Michael McCandless 主 题: Re: problem about backup index file时 间: 2010年2月25日 23:19:59This is likely happening because you're attempting to copy a file

problem about backup index file

2010-02-25 Thread luocan19826164
I want backup my index file,but I get the follow error. java.io.IOException:nbsp;another program lock the file!nbsp;at java.io.FileInputStream.readBytes(Native Method)nbsp;at java.io.FileInputStream.read(Unknown Source)nbsp;at com.common.Utils.copyDirectory(Utils.java:149)nbsp;at

RE: problem about backup index file

2010-02-25 Thread Uwe Schindler
...@sohu.com] Sent: Thursday, February 25, 2010 9:15 AM To: java-user Subject: problem about backup index file I want backup my index file,but I get the follow error. java.io.IOException:nbsp;another program lock the file!nbsp;at java.io.FileInputStream.readBytes(Native Method)nbsp

Re: problem about backup index file

2010-02-25 Thread Michael McCandless
This is likely happening because you're attempting to copy a file that IndexWriter is currently writing? You shouldn't do that (copy files that are still being written) -- that just wastes bytes (they aren't used by the index), and causes this failure on Windows. Instead, you should use

Re: problem about backup index file

2010-02-25 Thread luocan19826164
no need to copy it again.this means the number of files is growing more and more.never getting less.another question:I should delete the files previous I backup when I backup again. - 原文 - 发件人: Michael McCandless 主 题: Re: problem about backup index file时 间: 2010年2月25日 23:19:59This