elasticsearch报InvalidIndexNameException[Invalid index name [demo_indexX1], must be lowercase错误

Posted gengmingyan

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了elasticsearch报InvalidIndexNameException[Invalid index name [demo_indexX1], must be lowercase错误相关的知识,希望对你有一定的参考价值。

[demo_indexX1] InvalidIndexNameException[Invalid index name [demo_indexX1], must be lowercase
]
at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validateIndexName(MetaDataCreateIndexService.java:151)
at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validate(MetaDataCreateIndexService.java:431)
at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.access$100(MetaDataCreateIndexService.java:95)
at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execute(MetaDataCreateIndexService.java:190)
at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterStateUpdateTask.java:45)
at org.elasticsearch.cluster.service.InternalClusterService.runTasksForExecutor(InternalClusterService.java:468)
at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:772)
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:231)
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:194)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

 must be lowercase翻译过来就是索引名称必须小写

在此记录防止以后再犯相同问题

 














以上是关于elasticsearch报InvalidIndexNameException[Invalid index name [demo_indexX1], must be lowercase错误的主要内容,如果未能解决你的问题,请参考以下文章

Linux安装ElasticSearch启动报错的解决方法

elasticsearch系列双击elasticsearch.bat闪退,日志排查报错信息

elasticsearch启动报错:can not run elasticsearch as root

Elasticsearch启动报错

elasticsearch-7.17.3启动报错,需要使用Java 11

ElasticSearch本人启动报错总结