Interface ElasticsearchHttpClientConfigurationContext


public interface ElasticsearchHttpClientConfigurationContext
The context passed to ElasticsearchHttpClientConfigurer.
  • Method Details

    • beanResolver

      BeanResolver beanResolver()
      Returns:
      A BeanResolver.
    • configurationPropertySource

      ConfigurationPropertySource configurationPropertySource()
      Returns:
      A configuration property source, appropriately masked so that the factory doesn't need to care about Hibernate Search prefixes (hibernate.search.*, etc.). All the properties can be accessed at the root. CAUTION: the property key "type" is reserved for use by the engine.
    • clientBuilder

      org.apache.http.impl.nio.client.HttpAsyncClientBuilder clientBuilder()
      Returns:
      An Apache HTTP client builder, to set the configuration.
      See Also:
    • configuredVersion

      Optional<ElasticsearchVersion> configuredVersion()
      Returns:
      The version of Elasticsearch/OpenSearch configured on the backend. May be empty if not configured explicitly (in which case it will only be known after the client is built).