Class AbstractReactiveElasticsearchConfiguration
java.lang.Object
org.springframework.data.elasticsearch.config.ElasticsearchConfigurationSupport
org.springframework.data.elasticsearch.client.erhlc.AbstractReactiveElasticsearchConfiguration
@Deprecated
public abstract class AbstractReactiveElasticsearchConfiguration
extends ElasticsearchConfigurationSupport
Deprecated.
since 5.0
- Since:
- 3.2
- Author:
- Christoph Strobl, Peter-Josef Meisch
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.elasticsearch.action.support.IndicesOptions
Deprecated.Set up the readIndicesOptions
.abstract ReactiveElasticsearchClient
Deprecated.Return theReactiveElasticsearchClient
instance used to connect to the cluster.reactiveElasticsearchTemplate
(ElasticsearchConverter elasticsearchConverter, ReactiveElasticsearchClient reactiveElasticsearchClient) Deprecated.CreatesReactiveElasticsearchOperations
.protected RefreshPolicy
Deprecated.Set up the writeRefreshPolicy
.Methods inherited from class org.springframework.data.elasticsearch.config.ElasticsearchConfigurationSupport
elasticsearchCustomConversions, elasticsearchEntityMapper, elasticsearchMappingContext, fieldNamingStrategy, getInitialEntitySet, getMappingBasePackages, scanForEntities, writeTypeHints
-
Constructor Details
-
AbstractReactiveElasticsearchConfiguration
public AbstractReactiveElasticsearchConfiguration()Deprecated.
-
-
Method Details
-
reactiveElasticsearchClient
Deprecated.Return theReactiveElasticsearchClient
instance used to connect to the cluster.- Returns:
- never null.
-
reactiveElasticsearchTemplate
@Bean public ReactiveElasticsearchOperations reactiveElasticsearchTemplate(ElasticsearchConverter elasticsearchConverter, ReactiveElasticsearchClient reactiveElasticsearchClient) Deprecated.CreatesReactiveElasticsearchOperations
.- Returns:
- never null.
-
refreshPolicy
Deprecated.Set up the writeRefreshPolicy
. Default is set to null to use the cluster defaults..- Overrides:
refreshPolicy
in classElasticsearchConfigurationSupport
- Returns:
- null to use the server defaults.
-
indicesOptions
Deprecated.Set up the readIndicesOptions
. Default is set toIndicesOptions.strictExpandOpenAndForbidClosed()
.- Returns:
- null to use the server defaults.
-