Skip to content

Commit 8a4937a

Browse files
committed
HSEARCH-5464 Mark rest5 and opensearch clients as incubating
1 parent 1ba07a2 commit 8a4937a

File tree

8 files changed

+18
-0
lines changed

8 files changed

+18
-0
lines changed

backend/elasticsearch-client/elasticsearch-rest5-client/src/main/java/org/hibernate/search/backend/elasticsearch/client/rest5/ElasticsearchHttpClientConfigurationContext.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@
77

88
import org.hibernate.search.engine.cfg.ConfigurationPropertySource;
99
import org.hibernate.search.engine.environment.bean.BeanResolver;
10+
import org.hibernate.search.util.common.annotation.Incubating;
1011

1112
import org.apache.hc.client5.http.impl.async.HttpAsyncClientBuilder;
1213

1314

1415
/**
1516
* The context passed to {@link ElasticsearchHttpClientConfigurer}.
1617
*/
18+
@Incubating
1719
public interface ElasticsearchHttpClientConfigurationContext {
1820

1921
/**

backend/elasticsearch-client/elasticsearch-rest5-client/src/main/java/org/hibernate/search/backend/elasticsearch/client/rest5/ElasticsearchHttpClientConfigurer.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
*/
55
package org.hibernate.search.backend.elasticsearch.client.rest5;
66

7+
import org.hibernate.search.util.common.annotation.Incubating;
8+
79
/**
810
* An extension point allowing fine tuning of the Apache HTTP Client used by the Elasticsearch integration.
911
* <p>
@@ -16,6 +18,7 @@
1618
* Note that you don't have to configure the client unless you have specific needs:
1719
* the default configuration should work just fine for an on-premise Elasticsearch server.
1820
*/
21+
@Incubating
1922
public interface ElasticsearchHttpClientConfigurer {
2023

2124
/**

backend/elasticsearch-client/elasticsearch-rest5-client/src/main/java/org/hibernate/search/backend/elasticsearch/client/rest5/cfg/ClientJavaElasticsearchBackendClientSettings.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
import org.hibernate.search.backend.elasticsearch.cfg.ElasticsearchBackendSettings;
88
import org.hibernate.search.backend.elasticsearch.client.rest5.ElasticsearchHttpClientConfigurer;
9+
import org.hibernate.search.util.common.annotation.Incubating;
910

1011
/**
1112
* Specific configuration properties for the Elasticsearch backend's rest client based on the Elasticsearch's low-level rest client.
@@ -15,6 +16,7 @@
1516
*
1617
* @author Gunnar Morling
1718
*/
19+
@Incubating
1820
public final class ClientJavaElasticsearchBackendClientSettings {
1921

2022
private ClientJavaElasticsearchBackendClientSettings() {

backend/elasticsearch-client/elasticsearch-rest5-client/src/main/java/org/hibernate/search/backend/elasticsearch/client/rest5/cfg/spi/ClientJavaElasticsearchBackendClientSpiSettings.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@
55
package org.hibernate.search.backend.elasticsearch.client.rest5.cfg.spi;
66

77
import org.hibernate.search.engine.cfg.EngineSettings;
8+
import org.hibernate.search.util.common.annotation.Incubating;
89

910
/**
1011
* Configuration properties for the Elasticsearch backend that are considered SPI (and not API).
1112
*/
13+
@Incubating
1214
public final class ClientJavaElasticsearchBackendClientSpiSettings {
1315

1416
/**

backend/elasticsearch-client/opensearch-rest-client/src/main/java/org/hibernate/search/backend/elasticsearch/client/opensearch/rest/ElasticsearchHttpClientConfigurationContext.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@
77

88
import org.hibernate.search.engine.cfg.ConfigurationPropertySource;
99
import org.hibernate.search.engine.environment.bean.BeanResolver;
10+
import org.hibernate.search.util.common.annotation.Incubating;
1011

1112
import org.apache.hc.client5.http.impl.async.HttpAsyncClientBuilder;
1213

1314

1415
/**
1516
* The context passed to {@link ElasticsearchHttpClientConfigurer}.
1617
*/
18+
@Incubating
1719
public interface ElasticsearchHttpClientConfigurationContext {
1820

1921
/**

backend/elasticsearch-client/opensearch-rest-client/src/main/java/org/hibernate/search/backend/elasticsearch/client/opensearch/rest/ElasticsearchHttpClientConfigurer.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
*/
55
package org.hibernate.search.backend.elasticsearch.client.opensearch.rest;
66

7+
import org.hibernate.search.util.common.annotation.Incubating;
8+
79
/**
810
* An extension point allowing fine tuning of the Apache HTTP Client used by the Elasticsearch integration.
911
* <p>
@@ -16,6 +18,7 @@
1618
* Note that you don't have to configure the client unless you have specific needs:
1719
* the default configuration should work just fine for an on-premise Elasticsearch server.
1820
*/
21+
@Incubating
1922
public interface ElasticsearchHttpClientConfigurer {
2023

2124
/**

backend/elasticsearch-client/opensearch-rest-client/src/main/java/org/hibernate/search/backend/elasticsearch/client/opensearch/rest/cfg/ClientOpenSearchElasticsearchBackendClientSettings.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
import org.hibernate.search.backend.elasticsearch.cfg.ElasticsearchBackendSettings;
88
import org.hibernate.search.backend.elasticsearch.client.opensearch.rest.ElasticsearchHttpClientConfigurer;
9+
import org.hibernate.search.util.common.annotation.Incubating;
910

1011
/**
1112
* Specific configuration properties for the Elasticsearch backend's rest client based on the Elasticsearch's low-level rest client.
@@ -15,6 +16,7 @@
1516
*
1617
* @author Gunnar Morling
1718
*/
19+
@Incubating
1820
public final class ClientOpenSearchElasticsearchBackendClientSettings {
1921

2022
private ClientOpenSearchElasticsearchBackendClientSettings() {

backend/elasticsearch-client/opensearch-rest-client/src/main/java/org/hibernate/search/backend/elasticsearch/client/opensearch/rest/cfg/spi/ClientOpenSearchElasticsearchBackendClientSpiSettings.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@
55
package org.hibernate.search.backend.elasticsearch.client.opensearch.rest.cfg.spi;
66

77
import org.hibernate.search.engine.cfg.EngineSettings;
8+
import org.hibernate.search.util.common.annotation.Incubating;
89

910
/**
1011
* Configuration properties for the Elasticsearch backend that are considered SPI (and not API).
1112
*/
13+
@Incubating
1214
public final class ClientOpenSearchElasticsearchBackendClientSpiSettings {
1315

1416
/**

0 commit comments

Comments
 (0)