From 0c3e1bfed65757c144b4e3bd160d025c5288218d Mon Sep 17 00:00:00 2001 From: mgodwan Date: Tue, 6 Feb 2024 18:53:45 +0530 Subject: [PATCH] Add fuzzy filter file to mmap loaded list setting Signed-off-by: mgodwan --- server/src/main/java/org/opensearch/index/IndexModule.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/src/main/java/org/opensearch/index/IndexModule.java b/server/src/main/java/org/opensearch/index/IndexModule.java index 6ac10a221d49e..b7f5b253d33f8 100644 --- a/server/src/main/java/org/opensearch/index/IndexModule.java +++ b/server/src/main/java/org/opensearch/index/IndexModule.java @@ -66,6 +66,7 @@ import org.opensearch.index.cache.query.DisabledQueryCache; import org.opensearch.index.cache.query.IndexQueryCache; import org.opensearch.index.cache.query.QueryCache; +import org.opensearch.index.codec.fuzzy.FuzzyFilterPostingsFormat; import org.opensearch.index.engine.Engine; import org.opensearch.index.engine.EngineConfigFactory; import org.opensearch.index.engine.EngineFactory; @@ -168,7 +169,7 @@ public final class IndexModule { @Deprecated public static final Setting> INDEX_STORE_HYBRID_MMAP_EXTENSIONS = Setting.listSetting( "index.store.hybrid.mmap.extensions", - List.of("nvd", "dvd", "tim", "tip", "dim", "kdd", "kdi", "cfs", "doc"), + List.of("nvd", "dvd", "tim", "tip", "dim", "kdd", "kdi", "cfs", "doc", FuzzyFilterPostingsFormat.FUZZY_FILTER_FILE_EXTENSION), Function.identity(), new Setting.Validator>() {