Hi Gopi, I don't know whether org.apache.lucene.lockDir is available at 2.0. You may want to see release note for the system property:
http://svn.apache.org/repos/asf/lucene/java/tags/lucene_1_9_1/CHANGES.txt regards, Koji > -----Original Message----- > From: Gopikrishnan Subramani [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 28, 2006 9:02 PM > To: java-user@lucene.apache.org > Subject: Re: API for setting lock directory > > > Thanks, Koji. I tried org.apache.lucene.lockDir and found that to be > working. But my only concern is if this is the suggested approached or a > deprecated one. I wanted to know this to make sure my application > is Lucene > 2.0 compliant. > > Thanks again.. > > Gopi > > > On 3/28/06, Koji Sekiguchi <[EMAIL PROTECTED]> wrote: > > > > Hi Gopi, > > > > The name of the system property has been changed to > > org.apache.lucene.lockDir and it should be still available. > > > > Thank you, > > > > Koji > > > > > > > -----Original Message----- > > > From: Gopikrishnan Subramani [mailto:[EMAIL PROTECTED] > > > Sent: Tuesday, March 28, 2006 8:24 PM > > > To: java-user@lucene.apache.org > > > Subject: API for setting lock directory > > > > > > > > > Hello, > > > > > > With Lucene 1.4.3 I used to use a different lock directory from > > > the default > > > by setting org.apache.lucene.lockdir system property. But as per > > > http://lucene.apache.org/java/docs/systemproperties.html this is not > > > supported in Lucene 1.9 and above. I don't see any equivalent API for > > > lockDir property though in Lucene 1.9.1. Does anyone know if > using this > > > system property is still supported? > > > > > > Thanks, > > > Gopi > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]