diff --git a/docs/reference/index-modules/store.asciidoc b/docs/reference/index-modules/store.asciidoc index 8c1b99a42f2a6..005678e197de8 100644 --- a/docs/reference/index-modules/store.asciidoc +++ b/docs/reference/index-modules/store.asciidoc @@ -40,7 +40,7 @@ The following sections lists all the different storage types supported. `fs`:: Default file system implementation. This will pick the best implementation -depending on the operating environment, which is currently `hybridfs` on all +depending on the operating environment, which is currently `mmapfs` on all supported systems but is subject to change. [[simplefs]]`simplefs`:: diff --git a/server/src/main/java/org/elasticsearch/index/IndexModule.java b/server/src/main/java/org/elasticsearch/index/IndexModule.java index 6b83d2252dec7..93498a214e3f5 100644 --- a/server/src/main/java/org/elasticsearch/index/IndexModule.java +++ b/server/src/main/java/org/elasticsearch/index/IndexModule.java @@ -357,7 +357,7 @@ public interface IndexSearcherWrapperFactory { public static Type defaultStoreType(final boolean allowMmap) { if (allowMmap && Constants.JRE_IS_64BIT && MMapDirectory.UNMAP_SUPPORTED) { - return Type.HYBRIDFS; + return Type.MMAPFS; } else if (Constants.WINDOWS) { return Type.SIMPLEFS; } else { diff --git a/server/src/test/java/org/elasticsearch/index/store/IndexStoreTests.java b/server/src/test/java/org/elasticsearch/index/store/IndexStoreTests.java index 21c8d1c1d78a4..6a0683a7a7502 100644 --- a/server/src/test/java/org/elasticsearch/index/store/IndexStoreTests.java +++ b/server/src/test/java/org/elasticsearch/index/store/IndexStoreTests.java @@ -77,7 +77,7 @@ private void doTestStoreDirectory(Index index, Path tempDir, String typeSettingV break; case FS: if (Constants.JRE_IS_64BIT && MMapDirectory.UNMAP_SUPPORTED) { - assertHybridDirectory(directory); + assertTrue(type + " " + directory.toString(), directory instanceof MMapDirectory); } else if (Constants.WINDOWS) { assertTrue(directory.toString(), directory instanceof SimpleFSDirectory); } else {