public abstract class AbstractElasticsearchConfiguration extends ElasticsearchConfigurationSupport
ElasticsearchConfigurationSupport
Constructor and Description |
---|
AbstractElasticsearchConfiguration() |
Modifier and Type | Method and Description |
---|---|
abstract org.elasticsearch.client.RestHighLevelClient |
elasticsearchClient()
Return the
RestHighLevelClient instance used to connect to the cluster. |
ElasticsearchOperations |
elasticsearchOperations()
Creates
ElasticsearchOperations . |
elasticsearchConverter, elasticsearchCustomConversions, elasticsearchMappingContext, entityMapper, getInitialEntitySet, getMappingBasePackages, resultsMapper, scanForEntities
public abstract org.elasticsearch.client.RestHighLevelClient elasticsearchClient()
RestHighLevelClient
instance used to connect to the cluster. Bean
in case you want to expose a RestHighLevelClient
instance to the
ApplicationContext
.@Bean(name={"elasticsearchOperations","elasticsearchTemplate"}) public ElasticsearchOperations elasticsearchOperations()
ElasticsearchOperations
.Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.