SearchRequestsConfiguration

@Configuration(proxyBeanMethods = false)
class SearchRequestsConfiguration

SearchRequests on the client Spring Boot builds for the Elasticsearch store: its HTTP client counts each request it sends, and the counts are logged once a second and on stop.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@Bean(initMethod = "start", destroyMethod = "close")
fun searchRequests(): SearchRequests
Link copied to clipboard
@Bean
fun searchRequestsCounting(requests: SearchRequests): Rest5ClientBuilderCustomizer