mirror of
https://github.com/apache/lucene.git
synced 2025-03-01 05:49:33 +00:00
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:
parent
860f6bb673
commit
b3e82f8939
@ -71,6 +71,9 @@ Bug fixes
|
|||||||
4. LUCENE-1213: MultiFieldQueryParser was ignoring slop in case
|
4. LUCENE-1213: MultiFieldQueryParser was ignoring slop in case
|
||||||
of a single field phrase. (Trejkaz via Doron Cohen)
|
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
|
New features
|
||||||
|
|
||||||
1. LUCENE-1137: Added Token.set/getFlags() accessors for passing more information about a Token through the analysis
|
1. LUCENE-1137: Added Token.set/getFlags() accessors for passing more information about a Token through the analysis
|
||||||
|
@ -3017,6 +3017,9 @@ public class IndexWriter {
|
|||||||
synchronized(this) {
|
synchronized(this) {
|
||||||
info.setUseCompoundFile(true);
|
info.setUseCompoundFile(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
success = true;
|
||||||
|
|
||||||
} finally {
|
} finally {
|
||||||
if (!success) {
|
if (!success) {
|
||||||
if (infoStream != null)
|
if (infoStream != null)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user