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导入数据时,报错提醒我索引名必须小写,我寻思着已经小写了为啥还报错
结果发现原因是实体类没有指定索引名
问题解决
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)