lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (LUCENE-2610) addIndexes(Directory...) should not trigger merge on flush()
Date Mon, 23 Aug 2010 11:41:15 GMT

     [ 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


Mime
View raw message