【发布时间】:2020-07-20 18:36:22
【问题描述】:
在非反应性 ElasticsearchRepository 中,有一个 AbstractElasticsearchRepository 类
try {
if (createIndexAndMapping()) {
createIndex();
putMapping();
}
} catch (Exception exception) {
LOGGER.warn("Cannot create index: {}", exception.getMessage());
}
ReactiveElasticsearchRepository 是否有不同的、更手动的设置?我的索引映射仅在创建记录时创建,而不是在启动时创建。
【问题讨论】:
标签: spring-webflux spring-data-elasticsearch