Skip to content

Commit 43938fa

Browse files
authored
remove validation for uppercases in indexnames, aliases are still allowed to have uppercase in them (#2520)
1 parent 57fb9a4 commit 43938fa

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Nest/CommonAbstractions/Infer/IndexName/IndexNameResolver.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ private static void ValidateIndexName(string indexName)
4545
+ "or set a default index using ConnectionSettings.DefaultIndex()."
4646
);
4747

48-
if (indexName.HasAny(char.IsUpper))
49-
throw new ArgumentException($"Index names cannot contain uppercase characters: {indexName}.");
5048
}
5149
}
5250
}

0 commit comments

Comments
 (0)