small fixes to IW's infoStream output

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@895704 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2010-01-04 17:09:11 +00:00
parent 957c4499cf
commit 3f0577a92a
2 changed files with 3 additions and 2 deletions

View File

@ -512,7 +512,7 @@ final class IndexFileDeleter {
// the file for subsequent deletion.
if (infoStream != null) {
message("IndexFileDeleter: unable to remove file \"" + fileName + "\": " + e.toString() + "; Will re-try later.");
message("unable to remove file \"" + fileName + "\": " + e.toString() + "; Will re-try later.");
}
if (deletable == null) {
deletable = new ArrayList<String>();

View File

@ -1490,7 +1490,8 @@ public class IndexWriter implements Closeable {
" maxBufferedDocs=" + docWriter.getMaxBufferedDocs() +
" maxBuffereDeleteTerms=" + docWriter.getMaxBufferedDeleteTerms() +
" maxFieldLength=" + maxFieldLength +
" index=" + segString());
" index=" + segString() +
" version=" + Constants.LUCENE_VERSION);
}
/**