You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/asciidoc/reference/elasticsearch-migration-guide-4.3-4.4.adoc
+8
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,14 @@ Connections to Elasticsearch must be made using either the imperative `Elasticse
28
28
In 4.3 two classes (`ElasticsearchAggregations` and `ElasticsearchAggregation`) had been moved to the `org.springframework.data.elasticsearch.core.clients.elasticsearch7` package in preparation for the integration of the new Elasticsearch client.
29
29
The were moved back to the `org.springframework.data.elasticsearch.core` package as we keep the classes use the old Elasticsearch client where they were.
30
30
31
+
=== Behaviour change
32
+
33
+
The `ReactiveElasticsearchTemplate`, when created directly or by Spring Boot configuration had a default refresh policy of IMMEDIATE.
34
+
This could cause performance issues on heavy indexing and was different than the default behaviour of Elasticsearch.
35
+
This has been changed to that now the default refresh policy is NONE.
36
+
When the
37
+
`ReactiveElasticsearchTemplate` was provided by using the configuration like described in <<elasticsearch.clients.reactive>> the default refresh policy already was set to NONE.
0 commit comments