Dears,
Very briefly, I need to inject the API key into the Hibernate Search client.
To accomplish this I implement a BeanConfigurer and ElasticsearchHttpClientConfigurer. But in the BeanConfigurer this:
context.define(ElasticsearchHttpClientConfigurer.class,
BeanReference.of(ElasticsearchHttpClientConfigurerImpl.class));
Gives an ‘Incompatible equality constraint’. ElasticsearchHttpClientConfigurerImpl implements ElasticsearchHttpClientConfigurer of course ![]()
Perhaps there is another way to configure my Hibernate Search client with the Authorization key?
Version is 6.2.1, Java 11.
Cheers,
Michael