[ 
http://issues.apache.org/jira/browse/LUCENE-633?page=comments#action_12423289 ] 
            
Michael McCandless commented on LUCENE-633:
-------------------------------------------

This has been fixed after the release of 2.0.0, see here:

    http://issues.apache.org/jira/browse/LUCENE-621

We've added setDefault{Commit,Write}LockTimeout to address this.   These are 
static methods so they let you set the timeouts before instantiating the class.

> I cannot setup writeLockTimeout and commitLockTimeout
> -----------------------------------------------------
>
>                 Key: LUCENE-633
>                 URL: http://issues.apache.org/jira/browse/LUCENE-633
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>    Affects Versions: 2.0.0
>            Reporter: Andrey Grebnev
>
> The fields of object org.apache.lucene.index.IndexWriter are used in private 
> constructor of class IndexWriter. I cannot use setters setCommitLockTimeout 
> and setWriteLockTimeout before creation instance of class. So I cannot change 
> the values of commitLockTimeout and writeLockTimeout.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to