@Configuration(proxyBeanMethods=false)
@ConditionalOnClass(value={org.elasticsearch.client.Client.class,org.springframework.data.elasticsearch.repository.ElasticsearchRepository.class})
@ConditionalOnProperty(prefix="spring.data.elasticsearch.repositories",
name="enabled",
havingValue="true",
matchIfMissing=true)
@ConditionalOnMissingBean(value=org.springframework.data.elasticsearch.repository.support.ElasticsearchRepositoryFactoryBean.class)
@Import(value=org.springframework.boot.autoconfigure.data.elasticsearch.ElasticsearchRepositoriesRegistrar.class)
public class ElasticsearchRepositoriesAutoConfiguration
extends Object
- Since:
- 1.1.0
- Author:
- Artur Konczak, Mohsin Husen
- See Also:
EnableElasticsearchRepositories