From de04caa5d5a9592fe7f36960097a2cad612139ff Mon Sep 17 00:00:00 2001 From: Jim Ferenczi Date: Thu, 19 Dec 2024 13:10:08 +0000 Subject: [PATCH] compil --- .../main/java/org/elasticsearch/index/get/ShardGetService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/org/elasticsearch/index/get/ShardGetService.java b/server/src/main/java/org/elasticsearch/index/get/ShardGetService.java index d151798ac5591..9ed9fc6dabf3d 100644 --- a/server/src/main/java/org/elasticsearch/index/get/ShardGetService.java +++ b/server/src/main/java/org/elasticsearch/index/get/ShardGetService.java @@ -304,7 +304,7 @@ private GetResult innerGetFetch( if (storedFields != null) { for (String field : storedFields) { if (field.equals(InferenceMetadataFieldsMapper.NAME) - && InferenceMetadataFieldsMapper.isEnabled(indexShard.mapperService().mappingLookup().getMapping())) { + && InferenceMetadataFieldsMapper.isEnabled(indexShard.mapperService().mappingLookup())) { hasInferenceMetadataFields = true; continue; }