package com.storlead.es.config;

import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * ES 域自动配置：始终注册 {@link com.storlead.es.service.EsSearchCustomerService}（Noop 或真实实现）。
 */
@Configuration
@EnableConfigurationProperties(EsProperties.class)
@Import(ElasticSearchConfig.class)
@ComponentScan(basePackages = {
        "com.storlead.es.service.impl",
        "com.storlead.es.server.impl"
})
public class EsAutoConfiguration {
}
