From 65d40468b8020df812ce8637cee657ef865c0298 Mon Sep 17 00:00:00 2001 From: Lee Hinman Date: Mon, 20 Oct 2014 11:29:58 +0200 Subject: [PATCH] Raise maximum index name length to 255 bytes Fixes #8079 --- .../cluster/metadata/MetaDataCreateIndexService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/elasticsearch/cluster/metadata/MetaDataCreateIndexService.java b/src/main/java/org/elasticsearch/cluster/metadata/MetaDataCreateIndexService.java index b61b14d1fed..6747e6a3edc 100644 --- a/src/main/java/org/elasticsearch/cluster/metadata/MetaDataCreateIndexService.java +++ b/src/main/java/org/elasticsearch/cluster/metadata/MetaDataCreateIndexService.java @@ -87,7 +87,7 @@ import static org.elasticsearch.common.settings.ImmutableSettings.settingsBuilde */ public class MetaDataCreateIndexService extends AbstractComponent { - public final static int MAX_INDEX_NAME_BYTES = 100; + public final static int MAX_INDEX_NAME_BYTES = 255; private static final DefaultIndexTemplateFilter DEFAULT_INDEX_TEMPLATE_FILTER = new DefaultIndexTemplateFilter(); private final Environment environment;