Index [CruisingCompany] not found.; nested exception is [CruisingCompany]

Index [CruisingCompany] not found.; nested exception is [CruisingCompany],第1张

Index [CruisingCompany] not found.; nested exception is [CruisingCompany]

 Index [CruisingCompany] not found.; nested exception is [CruisingCompany] ElasticsearchStatusException[Elasticsearch exception [type=invalid_index_name_exception, reason=Invalid index name [CruisingCompany], must be lowercase]]

org.springframework.data.elasticsearch.NoSuchIndexException: Index [CruisingCompany] not found.; nested exception is [CruisingCompany] ElasticsearchStatusException[Elasticsearch exception [type=invalid_index_name_exception, reason=Invalid index name [CruisingCompany], must be lowercase]]

 使用es从数据库向es导入数据时,报错提醒我索引名必须小写,我寻思着已经小写了为啥还报错

 

 结果发现原因是实体类没有指定索引名

 问题解决

欢迎分享,转载请注明来源:内存溢出

原文地址: http://www.outofmemory.cn/zaji/5677991.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-17
下一篇 2022-12-17

发表评论

登录后才能评论

评论列表(0条)

保存