Class AbstractElasticsearchConfiguration
java.lang.Object
org.springframework.data.elasticsearch.config.ElasticsearchConfigurationSupport
org.springframework.data.elasticsearch.client.erhlc.AbstractElasticsearchConfiguration
@Deprecated
public abstract class AbstractElasticsearchConfiguration
extends ElasticsearchConfigurationSupport
Deprecated.
since 5.0
- Since:
- 3.2
- Author:
- Christoph Strobl, Peter-Josef Meisch
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.elasticsearch.client.RestHighLevelClient
Deprecated.Return theRestHighLevelClient
instance used to connect to the cluster.elasticsearchOperations
(ElasticsearchConverter elasticsearchConverter, org.elasticsearch.client.RestHighLevelClient elasticsearchClient) Deprecated.CreatesElasticsearchOperations
.Methods inherited from class org.springframework.data.elasticsearch.config.ElasticsearchConfigurationSupport
elasticsearchCustomConversions, elasticsearchEntityMapper, elasticsearchMappingContext, fieldNamingStrategy, getInitialEntitySet, getMappingBasePackages, refreshPolicy, scanForEntities, writeTypeHints
-
Constructor Details
-
AbstractElasticsearchConfiguration
public AbstractElasticsearchConfiguration()Deprecated.
-
-
Method Details
-
elasticsearchClient
Deprecated.Return theRestHighLevelClient
instance used to connect to the cluster.- Returns:
- never null.
-
elasticsearchOperations
@Bean(name={"elasticsearchOperations","elasticsearchTemplate"}) public ElasticsearchOperations elasticsearchOperations(ElasticsearchConverter elasticsearchConverter, org.elasticsearch.client.RestHighLevelClient elasticsearchClient) Deprecated.CreatesElasticsearchOperations
.- Returns:
- never null.
-