跳到主要内容
版本:6.1.1

从 5.4.x 升级到 5.5.x

Doubao 中英对照 Upgrading from 5.4.x to 5.5.x

本节介绍从 5.4.x 版本到 5.5.x 版本的破坏性变更,以及如何用新引入的特性替代被移除的特性。

破坏性变更​

弃用项​

有些类库用户可能不会用到的类已被重命名;使用旧名称的类仍然存在,但已弃用:

旧名称新名称
ElasticsearchPartQueryRepositoryPartQuery
ElasticsearchStringQueryRepositoryStringQuery
ReactiveElasticsearchStringQueryReactiveRepositoryStringQuery

移除项​

以下自 5.3 版本起已弃用的方法现已被移除:

DocumentOperations.delete(Query, Class<?>)
DocumentOperations.delete(Query, Class<?>, IndexCoordinates)
ReactiveDocumentOperations.delete(Query, Class<?>)
ReactiveDocumentOperations.delete(Query, Class<?>, IndexCoordinates)