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/antora/modules/ROOT/pages/elasticsearch.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
Spring Data support for Elasticsearch contains a wide range of features:
6
6
7
7
* Spring configuration support for various xref:elasticsearch/clients.adoc[Elasticsearch clients].
8
-
* The xref:elasticsearch/template.adoc[`ElasticsearchTemplate` and `ReactiveElasticsearchTemplate`] helper classes that provide object mapping between ES index operations and POJOs.
8
+
* The xref:elasticsearch/template.adoc[`ElasticsearchTemplate` and `ReactiveElasticsearchTemplate`] helper classes that provide object mapping between Elasticsearch index operations and POJOs.
9
9
* xref:elasticsearch/template.adoc#exception-translation[Exception translation] into Spring's portable {springDocsUrl}data-access.html#dao-exceptions[Data Access Exception Hierarchy].
10
10
* Feature rich xref:elasticsearch/object-mapping.adoc[object mapping] integrated with _Spring's_ {springDocsUrl}core.html#core-convert[Conversion Service].
11
11
* xref:elasticsearch/object-mapping.adoc#elasticsearch.mapping.meta-model.annotations[Annotation-based mapping] metadata that is extensible to support other metadata formats.
Copy file name to clipboardExpand all lines: src/main/antora/modules/ROOT/pages/elasticsearch/clients.adoc
+15-7Lines changed: 15 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Although the Elasticsearch Client can be used directly to work with the cluster,
9
9
[[elasticsearch.clients.rest5client]]
10
10
== Imperative Rest5Client
11
11
12
-
To use the imperative (non-reactive) Rest5Client, a configuration bean must be configured like this:
12
+
To use the imperative (non-reactive) Rest5Client - the default client provided by the Elasticsearch Java client library from version 9 on -, a configuration bean must be configured like this:
13
13
14
14
====
15
15
[source,java]
@@ -39,7 +39,9 @@ The following beans can then be injected in other Spring components:
<.> Define default headers, if they need to be customized
296
304
<.> Use the builder to provide cluster addresses, set default `HttpHeaders` or enable SSL.
297
-
<.> Optionally enable SSL.There exist overloads of this function that can take a `SSLContext` or as an alternative the fingerprint of the certificate as it is output by Elasticsearch 8 on startup.
305
+
<.> Optionally enable SSL.There exist overloads of this function that can take a `SSLContext` or as an alternative the fingerprint of the certificate as it is output by Elasticsearch on startup (since version 8).
298
306
<.> Optionally set a proxy.
299
307
<.> Optionally set a path prefix, mostly used when different clusters a behind some reverse proxy.
300
308
<.> Set the connection timeout.
@@ -320,7 +328,7 @@ The following callbacks are provided:
320
328
==== Configuration of the low level Elasticsearch `Rest5Client`:
321
329
322
330
This callback provides a `org.elasticsearch.client.RestClientBuilder` that can be used to configure the Elasticsearch
0 commit comments