Class ClientRest4ElasticsearchBackendClientSpiSettings

java.lang.Object
org.hibernate.search.backend.elasticsearch.client.rest4.cfg.spi.ClientRest4ElasticsearchBackendClientSpiSettings

public final class ClientRest4ElasticsearchBackendClientSpiSettings extends Object
Configuration properties for the Elasticsearch backend that are considered SPI (and not API).
  • Field Details

    • PREFIX

      public static final String PREFIX
      The prefix expected for the key of every Hibernate Search configuration property.
      See Also:
    • CLIENT_INSTANCE

      public static final String CLIENT_INSTANCE
      An external Elasticsearch client instance that Hibernate Search should use for all requests to Elasticsearch.

      If this is set, Hibernate Search will not attempt to create its own Elasticsearch, and all other client-related configuration properties (hosts/uris, authentication, discovery, timeouts, max connections, configurer, ...) will be ignored.

      Expects a reference to a bean of type RestClient.

      Defaults to nothing: if no client instance is provided, Hibernate Search will create its own.

      WARNING - Incubating API: the underlying client class may change without prior notice.

      See Also: