Re: How to LOCK the index-dir for changes from the IndexWriter

2010-06-18 Thread Alexander Rothenberg
Thx for the reply. I tried those lock-methods already but still cant it get to work. Heres what i did in my RequestHandler at least. Type "Directory" and all Lock stuff comes from org.apache.lucene.store.* and the copyFiles method is the same as for the replication-RequestHandler. I still nev

Re: How to LOCK the index-dir for changes from the IndexWriter

2010-06-18 Thread Otis Gospodnetic
ory.java||makeLock Otis Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search-lucene.com/ - Original Message > From: Alexander Rothenberg > To: solr-user@lucene.apache.org > Sent: Fri, June 18, 2010 5:28:53 AM > Subject: How to LO

How to LOCK the index-dir for changes from the IndexWriter

2010-06-18 Thread Alexander Rothenberg
Hi, im writing a RequestHandler that manages backups of the index-directory. Yea, i know theres already the Replication-RequestHandler that is also capable of creating backups, but i want the backupprocess to do some more action and not to depend on index-commit-points as the ReplicationHandler