From 034262c5d22229aa6e8a0b7e754fd806a521cfc4 Mon Sep 17 00:00:00 2001 From: Kostas Krikellas Date: Tue, 10 Oct 2023 15:06:55 +0300 Subject: [PATCH] Don't print synthetic source in mapping for bwc tests #2 --- .../org/elasticsearch/index/mapper/SourceFieldMapper.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/server/src/main/java/org/elasticsearch/index/mapper/SourceFieldMapper.java b/server/src/main/java/org/elasticsearch/index/mapper/SourceFieldMapper.java index a98c78409d951..9b25248f0a2cc 100644 --- a/server/src/main/java/org/elasticsearch/index/mapper/SourceFieldMapper.java +++ b/server/src/main/java/org/elasticsearch/index/mapper/SourceFieldMapper.java @@ -236,12 +236,7 @@ public Query termQuery(Object value, SearchExecutionContext context) { private final IndexMode indexMode; private final boolean setDefaultSytheticMode; - private SourceFieldMapper( - Mode mode, - Explicit enabled, - String[] includes, - String[] excludes, - IndexMode indexMode) { + private SourceFieldMapper(Mode mode, Explicit enabled, String[] includes, String[] excludes, IndexMode indexMode) { this(mode, enabled, includes, excludes, indexMode, false); }