From c6b915c8e67918c9a24ce9bbf7cb9d0e567e2f24 Mon Sep 17 00:00:00 2001 From: Julie Tibshirani Date: Wed, 7 Oct 2020 15:36:16 -0700 Subject: [PATCH] Make TextFieldMapper.FAST_PHRASE_SUFFIX private. --- .../java/org/elasticsearch/index/mapper/TextFieldMapper.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/src/main/java/org/elasticsearch/index/mapper/TextFieldMapper.java b/server/src/main/java/org/elasticsearch/index/mapper/TextFieldMapper.java index f247c5ff04c..19e1c7887bb 100644 --- a/server/src/main/java/org/elasticsearch/index/mapper/TextFieldMapper.java +++ b/server/src/main/java/org/elasticsearch/index/mapper/TextFieldMapper.java @@ -91,8 +91,7 @@ public class TextFieldMapper extends ParametrizedFieldMapper { public static final String CONTENT_TYPE = "text"; private static final int POSITION_INCREMENT_GAP_USE_ANALYZER = -1; - - public static final String FAST_PHRASE_SUFFIX = "._index_phrase"; + private static final String FAST_PHRASE_SUFFIX = "._index_phrase"; public static class Defaults { public static final double FIELDDATA_MIN_FREQUENCY = 0;