IW infoStream also tells us MMapDir.UNMAP_SUPPORTED on init

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1714073 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2015-11-12 15:26:59 +00:00
parent 067c8b2b30
commit 6da5a2d14f
1 changed files with 2 additions and 0 deletions

View File

@ -58,6 +58,7 @@ import org.apache.lucene.store.IndexOutput;
import org.apache.lucene.store.Lock;
import org.apache.lucene.store.LockObtainFailedException;
import org.apache.lucene.store.LockValidatingDirectoryWrapper;
import org.apache.lucene.store.MMapDirectory;
import org.apache.lucene.store.MergeInfo;
import org.apache.lucene.store.RateLimitedIndexOutput;
import org.apache.lucene.store.TrackingDirectoryWrapper;
@ -1040,6 +1041,7 @@ public class IndexWriter implements Closeable, TwoPhaseCommit, Accountable {
"index=" + segString() + "\n" +
"version=" + Version.LATEST.toString() + "\n" +
config.toString());
infoStream.message("IW", "MMapDirectory.UNMAP_SUPPORTED=" + MMapDirectory.UNMAP_SUPPORTED);
}
}