You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Grant Glouser (JIRA)" <ji...@apache.org> on 2008/04/18 05:11:21 UTC

[jira] Created: (LUCENE-1266) IndexWriter.optimize(boolean doWait) ignores doWait parameter

IndexWriter.optimize(boolean doWait) ignores doWait parameter
-------------------------------------------------------------

                 Key: LUCENE-1266
                 URL: https://issues.apache.org/jira/browse/LUCENE-1266
             Project: Lucene - Java
          Issue Type: Bug
          Components: Index
    Affects Versions: 2.3.1
            Reporter: Grant Glouser
            Priority: Minor


{{IndexWriter.optimize(boolean doWait)}} ignores the doWait parameter and always calls {{optimize(1, true)}}.

That does not seem to be the intended behavior, based on the doc comment.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-1266) IndexWriter.optimize(boolean doWait) ignores doWait parameter

Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-1266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590357#action_12590357 ] 

Michael McCandless commented on LUCENE-1266:
--------------------------------------------

Ugh, you're right.  I'll fix it on 2.4 & 2.3.2.  Thanks for catching this!

> IndexWriter.optimize(boolean doWait) ignores doWait parameter
> -------------------------------------------------------------
>
>                 Key: LUCENE-1266
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1266
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>    Affects Versions: 2.3.1
>            Reporter: Grant Glouser
>            Assignee: Michael McCandless
>            Priority: Minor
>
> {{IndexWriter.optimize(boolean doWait)}} ignores the doWait parameter and always calls {{optimize(1, true)}}.
> That does not seem to be the intended behavior, based on the doc comment.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Resolved: (LUCENE-1266) IndexWriter.optimize(boolean doWait) ignores doWait parameter

Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-1266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless resolved LUCENE-1266.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.4
                   2.3.2

OK committed to 2.3.2 & 2.4.  Thanks Grant!

> IndexWriter.optimize(boolean doWait) ignores doWait parameter
> -------------------------------------------------------------
>
>                 Key: LUCENE-1266
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1266
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>    Affects Versions: 2.3.1
>            Reporter: Grant Glouser
>            Assignee: Michael McCandless
>            Priority: Minor
>             Fix For: 2.3.2, 2.4
>
>
> {{IndexWriter.optimize(boolean doWait)}} ignores the doWait parameter and always calls {{optimize(1, true)}}.
> That does not seem to be the intended behavior, based on the doc comment.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Assigned: (LUCENE-1266) IndexWriter.optimize(boolean doWait) ignores doWait parameter

Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-1266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless reassigned LUCENE-1266:
------------------------------------------

    Assignee: Michael McCandless

> IndexWriter.optimize(boolean doWait) ignores doWait parameter
> -------------------------------------------------------------
>
>                 Key: LUCENE-1266
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1266
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>    Affects Versions: 2.3.1
>            Reporter: Grant Glouser
>            Assignee: Michael McCandless
>            Priority: Minor
>
> {{IndexWriter.optimize(boolean doWait)}} ignores the doWait parameter and always calls {{optimize(1, true)}}.
> That does not seem to be the intended behavior, based on the doc comment.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org