atom feed34 messages in org.apache.lucene.java-userRE: problem about backup index file
FromSent OnAttachments
Grant IngersollFeb 24, 2010 5:41 am 
Chris LuFeb 24, 2010 9:00 am 
Simon WistowFeb 24, 2010 11:59 am 
Yuval FeinsteinFeb 24, 2010 12:09 pm 
Avi RosenscheinFeb 24, 2010 12:18 pm 
Marcelo OchoaFeb 24, 2010 12:22 pm 
Michael van RooyenFeb 24, 2010 12:24 pm 
Aaron LavFeb 24, 2010 1:20 pm 
Paul LibbrechtFeb 24, 2010 1:21 pm 
Avi RosenscheinFeb 24, 2010 1:38 pm 
GaneshFeb 24, 2010 9:40 pm 
luoc...@sohu.comFeb 25, 2010 12:14 am 
Paul TaylorFeb 25, 2010 12:19 am 
Uwe SchindlerFeb 25, 2010 12:29 am 
Avi RosenscheinFeb 25, 2010 1:44 am 
luocanraoFeb 25, 2010 3:46 am 
Michael McCandlessFeb 25, 2010 7:19 am 
Glen NewtonFeb 25, 2010 9:21 am 
Jason RutherglenFeb 25, 2010 9:51 am 
Grant IngersollFeb 25, 2010 10:00 am 
Grant IngersollFeb 25, 2010 10:01 am 
Grant IngersollFeb 25, 2010 10:02 am 
Mark MillerFeb 25, 2010 10:33 am 
Jason RutherglenFeb 25, 2010 3:18 pm 
N. HiraFeb 25, 2010 3:37 pm 
Mark MillerFeb 25, 2010 4:02 pm 
Thomas GuttesenFeb 25, 2010 4:05 pm 
luoc...@sohu.comFeb 25, 2010 10:47 pm 
Michael McCandlessFeb 26, 2010 12:46 am 
Paul TaylorFeb 26, 2010 1:30 am 
Glen NewtonFeb 27, 2010 7:03 am 
Uwe SchindlerFeb 27, 2010 7:17 am 
Glen NewtonFeb 27, 2010 8:18 am 
GaneshMar 1, 2010 12:56 am 
Subject:RE: problem about backup index file
From:Uwe Schindler (uw@thetaphi.de)
Date:Feb 25, 2010 12:29:39 am
List:org.apache.lucene.java-user

In Windows you have no chance to do that without closing all IndexWriters and
IndexReaders that modify indexes.

-----Original Message----- From: luoc@sohu.com [mailto:luoc@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: another program lock the file! at java.io.FileInputStream.readBytes(Native Method) at java.io.FileInputStream.read(Unknown Source) at com.common.Utils.copyDirectory(Utils.java:149) at com.common.Utils.copyDirectory(Utils.java:138) at com.common.Utils.copyDirectory(Utils.java:138) at com.index.IndexManager.backDataPolicy(IndexManager.java:398) at com.index.IndexManager.indexLoop(IndexManager.java:222) at com.Main$1.run(Main.java:48) at java.lang.Thread.run(Unknown Source)   How can I backup lucene file in IR thread.