@Configuration @ConditionalOnClass(value={, }) public class ElasticsearchDataAutoConfiguration extends Object
Auto-configuration
for Spring Data's Elasticsearch
support.
Registers a ElasticsearchTemplate
if no other bean of the same type is
configured.
EnableElasticsearchRepositories
Constructor and Description |
---|
ElasticsearchDataAutoConfiguration() |
@Bean @ConditionalOnMissingBean public ElasticsearchTemplate elasticsearchTemplate(Client client)
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.