LUCENE-1226: Fixed IndexWriter.addIndexes(IndexReader[]) to commit successfully created compound files.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@636893 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Busch 2008-03-13 20:57:32 +00:00
parent 860f6bb673
commit b3e82f8939
2 changed files with 6 additions and 0 deletions

View File

@ -71,6 +71,9 @@ Bug fixes
4. LUCENE-1213: MultiFieldQueryParser was ignoring slop in case
of a single field phrase. (Trejkaz via Doron Cohen)
5. LUCENE-1226: Fixed IndexWriter.addIndexes(IndexReader[]) to commit
successfully created compound files. (Michael Busch)
New features
1. LUCENE-1137: Added Token.set/getFlags() accessors for passing more information about a Token through the analysis

View File

@ -3017,6 +3017,9 @@ public class IndexWriter {
synchronized(this) {
info.setUseCompoundFile(true);
}
success = true;
} finally {
if (!success) {
if (infoStream != null)