parent
2c3049f961
commit
6c3c8398d0
|
|
@ -22,7 +22,7 @@ import co.elastic.clients.json.SimpleJsonpMapper;
|
|||
import co.elastic.clients.json.jackson.JacksonJsonpMapper;
|
||||
import co.elastic.clients.json.jsonb.JsonbJsonpMapper;
|
||||
import co.elastic.clients.transport.ElasticsearchTransport;
|
||||
import co.elastic.clients.transport.TransportOptions;
|
||||
import co.elastic.clients.transport.rest_client.RestClientOptions;
|
||||
import co.elastic.clients.transport.rest_client.RestClientTransport;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import jakarta.json.bind.Jsonb;
|
||||
|
|
@ -90,8 +90,8 @@ class ElasticsearchClientConfigurations {
|
|||
|
||||
@Bean
|
||||
RestClientTransport restClientTransport(RestClient restClient, JsonpMapper jsonMapper,
|
||||
ObjectProvider<TransportOptions> transportOptions) {
|
||||
return new RestClientTransport(restClient, jsonMapper, transportOptions.getIfAvailable());
|
||||
ObjectProvider<RestClientOptions> restClientOptions) {
|
||||
return new RestClientTransport(restClient, jsonMapper, restClientOptions.getIfAvailable());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -262,7 +262,7 @@ bom {
|
|||
]
|
||||
}
|
||||
}
|
||||
library("Elasticsearch Client", "8.8.2") {
|
||||
library("Elasticsearch Client", "8.9.0") {
|
||||
group("org.elasticsearch.client") {
|
||||
modules = [
|
||||
"elasticsearch-rest-client" {
|
||||
|
|
|
|||
|
|
@ -330,7 +330,7 @@ If you have `co.elastic.clients:elasticsearch-java` on the classpath, Spring Boo
|
|||
|
||||
The `ElasticsearchClient` uses a transport that depends upon the previously described `RestClient`.
|
||||
Therefore, the properties described previously can be used to configure the `ElasticsearchClient`.
|
||||
Furthermore, you can define a `TransportOptions` bean to take further control of the behavior of the transport.
|
||||
Furthermore, you can define a `RestClientOptions` bean to take further control of the behavior of the transport.
|
||||
|
||||
|
||||
|
||||
|
|
@ -341,7 +341,7 @@ If you have Spring Data Elasticsearch and Reactor on the classpath, Spring Boot
|
|||
|
||||
The `ReactiveElasticsearchclient` uses a transport that depends upon the previously described `RestClient`.
|
||||
Therefore, the properties described previously can be used to configure the `ReactiveElasticsearchClient`.
|
||||
Furthermore, you can define a `TransportOptions` bean to take further control of the behavior of the transport.
|
||||
Furthermore, you can define a `RestClientOptions` bean to take further control of the behavior of the transport.
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue