You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Andrey Grebnev (JIRA)" <ji...@apache.org> on 2006/07/25 10:33:16 UTC

[jira] Created: (LUCENE-633) I cannot setup writeLockTimeout and commitLockTimeout

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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-633) I cannot setup writeLockTimeout and commitLockTimeout

Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
    [ 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Resolved: (LUCENE-633) I cannot setup writeLockTimeout and commitLockTimeout

Posted by "Otis Gospodnetic (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/LUCENE-633?page=all ]

Otis Gospodnetic resolved LUCENE-633.
-------------------------------------

    Resolution: Duplicate

LUCENE-621 already fixed this.


> 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org