Raise maximum index name length to 255 bytes

Fixes #8079
This commit is contained in:
Lee Hinman 2014-10-20 11:29:58 +02:00
parent 0146653b92
commit 65d40468b8
1 changed files with 1 additions and 1 deletions

View File

@ -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;