Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@apache.org Received: (qmail 16001 invoked from network); 18 Apr 2002 15:06:58 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 18 Apr 2002 15:06:58 -0000 Received: (qmail 18902 invoked by uid 97); 18 Apr 2002 15:06:55 -0000 Delivered-To: qmlist-jakarta-archive-lucene-user@jakarta.apache.org Received: (qmail 18886 invoked by uid 97); 18 Apr 2002 15:06:55 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 18869 invoked from network); 18 Apr 2002 15:06:54 -0000 Message-ID: From: Aruna Raghavan To: 'Lucene Users List' Subject: RE: Removing a write.lock file Date: Thu, 18 Apr 2002 10:07:00 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I don't think it is a good approach to delete the write.lock file by hand. It is there for a reason. You may want to dig into some of the older dialogs/e-mails on this topic. -----Original Message----- From: Biswas, Goutam_Kumar [mailto:Goutam-Kumar-Biswas@deshaw.com] Sent: Thursday, April 18, 2002 9:53 AM To: 'Lucene Users List' Subject: RE: Removing a write.lock file well suneetha, before I write to the index I check whether a write.lock file exists! If it does I delete it before opening the index. It works fine for me. -Goutam -----Original Message----- From: Aruna Raghavan [mailto:ArunaR@opin.com] Sent: Thursday, April 18, 2002 8:22 PM To: 'Lucene Users List' Subject: RE: Removing a write.lock file Hi, The write.lock file won't be there if you close the index using a lock mechanism. I use my own RWLock to access the index dir and unlock it after I close the index. Basically, the access to the index is synchronized. I have never had any problems with this approach. Aruna. -----Original Message----- From: suneethad [mailto:suneethad@india.adventnet.com] Sent: Wednesday, April 17, 2002 11:47 PM To: Lucene Users List Subject: Removing a write.lock file Hi, I'm currently indexing allowing multiple access , I find that a write.lock file has got created. I know this is to prevent multiple writers, but now how do I continue.??I do not want to reindex as I work on a very large database and it takes a real long time How do I remove this lock file ?? Thanx 4 ur help, Suneetha. -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: