org.springframework.boot.autoconfigure.data.elasticsearch

Class ElasticsearchDataAutoConfiguration

  • java.lang.Object
    • org.springframework.boot.autoconfigure.data.elasticsearch.ElasticsearchDataAutoConfiguration
    • Constructor Detail

      • ElasticsearchDataAutoConfiguration

        public ElasticsearchDataAutoConfiguration()
    • Method Detail

      • elasticsearchTemplate

        @Bean
         @ConditionalOnMissingBean
         @ConditionalOnBean(value=org.elasticsearch.client.Client.class)
        public org.springframework.data.elasticsearch.core.ElasticsearchTemplate elasticsearchTemplate(org.elasticsearch.client.Client client,
                                                                                                                                                                                                         org.springframework.data.elasticsearch.core.convert.ElasticsearchConverter converter)
      • elasticsearchConverter

        @Bean
         @ConditionalOnMissingBean
        public org.springframework.data.elasticsearch.core.convert.ElasticsearchConverter elasticsearchConverter(org.springframework.data.elasticsearch.core.mapping.SimpleElasticsearchMappingContext mappingContext)
      • mappingContext

        @Bean
         @ConditionalOnMissingBean
        public org.springframework.data.elasticsearch.core.mapping.SimpleElasticsearchMappingContext mappingContext()