From 5ed407a21da9f2f2a51fda45d92e5a28e66ef90d Mon Sep 17 00:00:00 2001 From: Ryan Bogan <10944539+ryanbogan@users.noreply.github.com> Date: Wed, 11 Oct 2023 11:50:11 -0700 Subject: [PATCH] Fix ignore unmapped minimum version (#1239) Signed-off-by: Ryan Bogan (cherry picked from commit 9d2086cada4c6bb352a56366373387dd41ddb6ae) --- src/main/java/org/opensearch/knn/index/IndexUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/opensearch/knn/index/IndexUtil.java b/src/main/java/org/opensearch/knn/index/IndexUtil.java index f9809ba70..4e2dc38c6 100644 --- a/src/main/java/org/opensearch/knn/index/IndexUtil.java +++ b/src/main/java/org/opensearch/knn/index/IndexUtil.java @@ -35,7 +35,7 @@ public class IndexUtil { private static final Version MINIMAL_SUPPORTED_VERSION_FOR_LUCENE_HNSW_FILTER = Version.V_2_4_0; - private static final Version MINIMAL_SUPPORTED_VERSION_FOR_IGNORE_UNMAPPED = Version.V_2_10_0; + private static final Version MINIMAL_SUPPORTED_VERSION_FOR_IGNORE_UNMAPPED = Version.V_2_11_0; public static final Map minimalRequiredVersionMap = new HashMap() { { put("filter", MINIMAL_SUPPORTED_VERSION_FOR_LUCENE_HNSW_FILTER);