lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Created: (LUCENE-1014) IndexWriter.optimize() does not respect maxMergeDocs
Date Mon, 01 Oct 2007 08:18:50 GMT
IndexWriter.optimize() does not respect maxMergeDocs
----------------------------------------------------

                 Key: LUCENE-1014
                 URL: https://issues.apache.org/jira/browse/LUCENE-1014
             Project: Lucene - Java
          Issue Type: Bug
          Components: Index
    Affects Versions: 2.2, 2.1, 2.0.0, 1.9, 2.0.1, 2.3
            Reporter: Michael McCandless
            Assignee: Michael McCandless
            Priority: Minor
             Fix For: 2.3


Similar to LUCENE-1012, IndexWriter.optimize() does not respect
maxMergeDocs: it always merges the index down to one segment.

I don't think we should change this for the existing optimize() since
this would be a change in behavior.  I think instead in doing
LUCENE-982 (adding IndexWriter.optimize(int maxNumSegments) method) we
can have it respect maxMergeDocs.

-- 
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


Mime
View raw message