mirror of
https://github.com/apache/lucene.git
synced 2025-02-08 11:05:29 +00:00
LUCENE-3728: remove nocommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1237641 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7487fb30f3
commit
dae9070d1f
@ -2555,10 +2555,12 @@ public class IndexWriter implements Closeable, TwoPhaseCommit {
|
|||||||
newDsName = segName;
|
newDsName = segName;
|
||||||
}
|
}
|
||||||
|
|
||||||
// nocommit: remove this
|
|
||||||
Set<String> codecDocStoreFiles = new HashSet<String>();
|
Set<String> codecDocStoreFiles = new HashSet<String>();
|
||||||
codec.storedFieldsFormat().files(info, codecDocStoreFiles);
|
if (info.getDocStoreOffset() != -1) {
|
||||||
codec.termVectorsFormat().files(info, codecDocStoreFiles);
|
// only violate the codec this way if its preflex
|
||||||
|
codec.storedFieldsFormat().files(info, codecDocStoreFiles);
|
||||||
|
codec.termVectorsFormat().files(info, codecDocStoreFiles);
|
||||||
|
}
|
||||||
|
|
||||||
// Copy the segment files
|
// Copy the segment files
|
||||||
for (String file: info.files()) {
|
for (String file: info.files()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user