You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shai Erera (JIRA)" <ji...@apache.org> on 2010/08/23 13:41:15 UTC

[jira] Resolved: (LUCENE-2610) addIndexes(Directory...) should not trigger merge on flush()

     [ https://issues.apache.org/jira/browse/LUCENE-2610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shai Erera resolved LUCENE-2610.
--------------------------------

    Resolution: Fixed

Committed revision 988083 (3x).
Committed revision 988084 (trunk).

> addIndexes(Directory...) should not trigger merge on flush()
> ------------------------------------------------------------
>
>                 Key: LUCENE-2610
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2610
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Index
>            Reporter: Shai Erera
>            Assignee: Shai Erera
>            Priority: Minor
>             Fix For: 3.1, 4.0
>
>
> IndexWriter.addIndexes(Directory..) calls flush() w/ triggerMerge=true. This beats the purpose of the changes done to addIndexes to not merge any segments and leave it as the application's choice. The change is very simple - pass false instead of true. I don't plan to post a patch, however opened an issue in case some want to comment about it.

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