Interface ElasticsearchHttpClientConfigurationContext
public interface ElasticsearchHttpClientConfigurationContext
The context passed to
ElasticsearchHttpClientConfigurer.-
Method Summary
Modifier and TypeMethodDescriptionorg.hibernate.search.engine.environment.bean.BeanResolverorg.apache.http.impl.nio.client.HttpAsyncClientBuilderorg.hibernate.search.engine.cfg.ConfigurationPropertySource
-
Method Details
-
beanResolver
org.hibernate.search.engine.environment.bean.BeanResolver beanResolver()- Returns:
- A
BeanResolver.
-
configurationPropertySource
org.hibernate.search.engine.cfg.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).
-