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:
Robert Muir 2012-01-30 13:20:09 +00:00
parent 7487fb30f3
commit dae9070d1f
1 changed files with 5 additions and 3 deletions

View File

@ -2555,10 +2555,12 @@ public class IndexWriter implements Closeable, TwoPhaseCommit {
newDsName = segName;
}
// nocommit: remove this
Set<String> codecDocStoreFiles = new HashSet<String>();
codec.storedFieldsFormat().files(info, codecDocStoreFiles);
codec.termVectorsFormat().files(info, codecDocStoreFiles);
if (info.getDocStoreOffset() != -1) {
// only violate the codec this way if its preflex
codec.storedFieldsFormat().files(info, codecDocStoreFiles);
codec.termVectorsFormat().files(info, codecDocStoreFiles);
}
// Copy the segment files
for (String file: info.files()) {