From 5e109003e45089f17558cae24f3a20c1cda904ad Mon Sep 17 00:00:00 2001 From: Martijn Laarman Date: Wed, 4 Jan 2017 13:17:40 +0100 Subject: [PATCH] remove validation for uppercases in indexnames, aliases are still allowed to have uppercase in them (#2520) --- .../CommonAbstractions/Infer/IndexName/IndexNameResolver.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Nest/CommonAbstractions/Infer/IndexName/IndexNameResolver.cs b/src/Nest/CommonAbstractions/Infer/IndexName/IndexNameResolver.cs index 0e3568c5e16..2e1c0bec055 100644 --- a/src/Nest/CommonAbstractions/Infer/IndexName/IndexNameResolver.cs +++ b/src/Nest/CommonAbstractions/Infer/IndexName/IndexNameResolver.cs @@ -45,8 +45,6 @@ private static void ValidateIndexName(string indexName) + "or set a default index using ConnectionSettings.DefaultIndex()." ); - if (indexName.HasAny(char.IsUpper)) - throw new ArgumentException($"Index names cannot contain uppercase characters: {indexName}."); } } }